Ian Romanick
bc7b2f0dc3
glx: Re-indent CreateContext after the previous commit
2010-02-11 15:40:29 -08:00
Ian Romanick
2243029eee
glx: Handle imported contexts outside of CreateContext
...
A long time ago I was a bit over-agressive in refactoring context
creation into a single function. The creation code for
glXImportContextEXT does not belong in CreateContext because it does
not use any GLX protocol. The big if-statement for the import case
routed around almost the entire function anyway.
2010-02-11 15:40:29 -08:00
Ian Romanick
7bcfb66000
glx: Pass screen number as parameter to CreateContext
...
Passing the screen parameter to CreateContext will simplify a couple
of changes that are coming.
2010-02-11 15:40:29 -08:00
Ian Romanick
8bffadbc83
glx: Pass opcode to CreateContext instead of use_glx_1_3 parameter
...
Passing the opcode directly instead of having CreateContext infer it
from the value of fbconfig and the use_glx_1_3 flag will simplify some
changes that are coming.
2010-02-11 15:40:29 -08:00
Ian Romanick
68fef18439
glx: Fix interval test in glXSwapIntervalMESA
...
It appears that, in spite of what the spec says, the interval
parameter to glXSwapIntervalMESA has been an unsigned int since
day-1. This made the 'if (interval < 0)' test useless. The test is
removed and the spec is updated to note that the interval is an
unsigned value.
2010-02-11 15:40:29 -08:00
Ian Romanick
1add5354d0
glx: Change type to eliminate 'comparison between signed and unsigned' warning
2010-02-11 15:40:29 -08:00
Ian Romanick
71a6fb15ce
glx: Add casts to eliminate 'comparison between signed and unsigned' warnings
2010-02-11 15:40:28 -08:00
Ian Romanick
26b2bee79d
glx: Eliminate several 'unused variable' warnings in glxcmds.c.
2010-02-11 15:40:28 -08:00
Ian Romanick
2b4e009ed5
glx: Use wrapper macro to detect direct rendering
...
The wrapper macro GC_IS_DIRECT is used in CreateContext and a couple
other places to eliminate the need for some of the '#ifdef
GLX_DIRECT_RENDERING' madness. There appear to be a *LOT* of places
in glxcmds.c where '#ifdef GLX_DIRECT_RENDERING' is missing.
2010-02-11 15:40:28 -08:00
Karl Schultz
2d1088cc17
Turn off 64-bit portability problems detection.
2010-02-11 15:55:04 -07:00
Kristian Høgsberg
c7ab5994ee
glapi: Avoid #including gl.h
...
It's only used for a couple of integer types and and might conflict
with other client API header files.
2010-02-11 17:04:06 -05:00
Kristian Høgsberg
cc57baff5f
i915: Remove always-true irq_active struct intel_screen field
2010-02-11 16:56:44 -05:00
Kristian Høgsberg
c9b0f04b1f
i915: Remove a few DRI1 era struct intel_screen fields
2010-02-11 16:54:20 -05:00
Kristian Høgsberg
5777dee02c
i915: Drop intelScreenPrivate typedef and just call it struct intel_screen
2010-02-11 16:49:26 -05:00
Kristian Høgsberg
cbfd4147ca
i915: Remove unused intelRegion struct
...
Phew, sure is nice to only have one struct called intel region.
2010-02-11 16:49:07 -05:00
Kristian Høgsberg
fa43956b5c
i915: Remove left-over drmUnmap()
2010-02-11 16:34:11 -05:00
Brian Paul
362fa6763c
mesa: additional constant/limit assertions
2010-02-11 11:34:54 -07:00
Brian Paul
0be04f710e
svga: implement PIPE_CAP_MAX_COMBINED_SAMPLERS query
2010-02-11 11:34:54 -07:00
Karl Schultz
207ad94a89
Add git tips
2010-02-11 10:56:30 -07:00
Brian Paul
6352f4c854
st/mesa: fix gallium texture level selection for RTT
...
Fixes invalid texture level when rendering to a texture where
GL_BASE_LEVEL > 0.
This will be cherry-picked to the 7.7 branch after additional
testing.
2010-02-11 09:40:52 -07:00
Brian Paul
3c28fad20b
mesa: remove darwin-x86ppc and dangling darwin refs in Makefile
2010-02-11 09:04:03 -07:00
Brian Paul
d23fefe217
docs: remove old CVS references
2010-02-11 09:02:53 -07:00
José Fonseca
be29a60f9e
Revert "llvmpipe: Move tile coordinate assertion into a more useful place."
...
This reverts commit 8c0391726a .
Too pendantic.
2010-02-11 12:14:01 +00:00
José Fonseca
c72e8b3edd
scons: Fix drm/intel build.
2010-02-11 11:51:32 +00:00
José Fonseca
9381dd590f
llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY.
...
Avoids assertion failures with certain shaders.
2010-02-11 11:08:30 +00:00
José Fonseca
8c0391726a
llvmpipe: Move tile coordinate assertion into a more useful place.
2010-02-11 10:59:41 +00:00
José Fonseca
764c172aa9
llvmpipe: Clamp both extremes of triangles to framebuffer size.
...
Fix segmentation fault when triangles crossed the axis.
2010-02-11 10:58:46 +00:00
José Fonseca
128d93a009
gallivm: TGSI_OPCODE_CONT is not deprecated.
...
Note that with FIXME instead of an assertion failure.
Addresses fdo 25956.
2010-02-11 10:08:52 +00:00
Ben Skeggs
16a91bd2fd
nouveau: remove u_simple_screen.h includes
2010-02-11 15:21:31 +10:00
Vinson Lee
7c2634dd71
i965g: ifdef out unused functions.
2010-02-10 19:03:18 -08:00
Corbin Simpson
229db2b8ad
r300g: Work around "defect" in r300compiler.
...
r300compiler doesn't handle half swizzles for vert shaders, which don't
have them. So, for now, disable them.
2010-02-10 18:40:12 -08:00
Vinson Lee
218590f707
st/mesa: Silence uninitialized variable warning in st_cb_bitmap.c.
2010-02-10 18:37:46 -08:00
Vinson Lee
19045d3749
swrast: Silence uninitialized variable warnings in ss_tritmp.h.
2010-02-10 18:30:46 -08:00
Vinson Lee
8df7e20788
os: Do not use Pthreads barrier functions on Mac OS X.
...
Pthreads barrier functions are not available on some POSIX platforms.
2010-02-10 18:12:10 -08:00
Vinson Lee
57732d83e5
ffb: Fix build.
2010-02-10 16:14:28 -08:00
Brian Paul
4b1241bf76
gallium: cast to silence waring
2010-02-10 16:44:05 -07:00
Brian Paul
f6bcce0308
gallium: use os_time.h
2010-02-10 16:43:50 -07:00
Brian Paul
bcace317c7
gallium: use os_time.h in pb_bufmgr_cache.c
...
Untested, but seems straightforward.
2010-02-10 16:41:43 -07:00
Brian Paul
43ba0d7451
gallium: use os_time.h in u_timed_winsys.c
2010-02-10 16:37:18 -07:00
Brian Paul
eaf3ae58a9
scons: add another prefix for mingw32 on Fedora
...
(cherry picked from commit f1afb352da )
2010-02-10 16:34:24 -07:00
Ian Romanick
5325340fb3
dri: Fix one last copy-and-paste brain damage from a previous commit
2010-02-10 15:16:46 -08:00
José Fonseca
2311e2adf0
scons: User friendly message for code generated files
2010-02-10 22:32:50 +00:00
Karl Schultz
2717d9066d
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa
2010-02-10 15:22:07 -07:00
Karl Schultz
450524a87c
Update Visual Studio Project files to compile the shader compiler and build the prebuilt shader header files.
2010-02-10 15:21:06 -07:00
Corbin Simpson
412ffb7a3a
r300g: Fix typo.
...
Thanks to Uros Bizjak for catching it.
2010-02-10 12:35:39 -08:00
Corbin Simpson
92ea8834d8
r300/compiler: r500-fs: Properly set HW register swizzles.
...
Fixes fallout from 9a1bf52c .
2010-02-10 12:35:30 -08:00
José Fonseca
f6a16dfa97
scons: Only build progs when explicitly requested in the command line.
2010-02-10 20:23:10 +00:00
José Fonseca
b44c444a0f
llvmpipe: Map rendertargets when bound as textures.
...
Fixes gearbox segfault (fdo 25960). Corruption remains.
2010-02-10 20:12:44 +00:00
Ian Romanick
96728bb4f3
dri: Fix copy-and-paste brain damage in previous commit
...
A number of places in 3cce4a1e10 use
TRUE instead of GL_TRUE. This causes build failures in all of the
drivers that I don't typically build. Win.
Reported by sungami on IRC.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-02-10 11:43:02 -08:00
Ian Romanick
6bd9da01ea
intel: Don't expose GLX_SWAP_EXCHANGE_OML
...
We can't always guarantee that the swap will happen by exchange, so we
can't expose this mode. GLX_SWAP_UNDEFINED_OML already covers the
case where the swap *might be* by exchange.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2010-02-10 10:50:28 -08:00