Commit Graph

30967 Commits

Author SHA1 Message Date
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 f1afb352daf0e74751c99254592eef863c64392a)
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
Ian Romanick bb65a1d009 intel: Expose a minimal number of configs with accumulation buffer
Expose one config per color depth that includes accumulation buffer.
We could probably expose only one config with accumulation buffer, but
that would require figuring out the actual color depth.  This is
easier and only exposes 2 useless configs.

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
Ian Romanick 3cce4a1e10 dri: Allow selective generation of accum. buffer configs
Modify the interface to driCreateConfigs allowing drivers to not
expose configs with an accumuation buffer.  All of the drivers calling
function have been updated to pass true for the accumulation
selector.  This maintains the current behavior.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-02-10 10:50:28 -08:00
Ian Romanick 73e24cd5a7 intel: Stop exposing useless 24 depth/0 stencil configs
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
Ian Romanick 6d91f9a024 intel: Remove redundant init of depth_bits / stencil_bits in intelInitScreen2
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
Ian Romanick 066f45c7a1 intel: Update comment in intelInitScreen2 to noting DRI2 protocol issues
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
unknown b91bb45899 Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa 2010-02-10 10:55:01 -07:00
Brian Paul 3251f31d59 glsl/pp: fix extension enable/disable options
Now the #extension name: disable/enable flags do the right thing.

Fixes glean/glsl1 "Preprocessor test (extension test 3)"
2010-02-10 10:49:50 -07:00
unknown c3b62372db Add new symbol to exports list 2010-02-10 10:49:11 -07:00
Michal Krol 8b1c332a77 Simplify GLSL extension mechanism.
Since extension name and extension name string are the same, collapse
them into one name.
2010-02-10 18:04:07 +01:00
Michal Krol c1395a71ac glsl/pp: Fix ifdef directive for extension names. 2010-02-10 17:55:29 +01:00
Brian Paul eb095b67ad glsl: GLSL extensions have the GL_ prefix
Both the #extension directive name and the preprocessor symbol start
with the GL_ prefix.  For example:

...

New glean/glsl1 tests have been added to test the #extension feature.
2010-02-10 08:28:37 -07:00
Zack Rusin f88b43e8d0 st/xorg: fix a silly offset bug in xv
we were multiplying the difference in the wrong direction.
2010-02-10 09:26:54 -05:00
Kristian Høgsberg 3a0e4eb94c r600: Fix typo in __DRI_TEXTURE_FORMAT_RGBA rename
Oops, I n00bed it.
2010-02-10 07:56:51 -05:00
José Fonseca ba33fed610 llvmpipe: Fix null pointer dereference when no depth buffer is bound. 2010-02-10 11:25:26 +00:00
José Fonseca 5e6a900510 llvmpipe: Leave depth buffer in swizzled format.
This fixes several assertion failures due to only Z32 being supported.
2010-02-10 11:01:26 +00:00
Vinson Lee 7a593afa17 glu/sgi: Initialize member of class Uarray. 2010-02-10 01:25:23 -08:00
Vinson Lee 58c991a640 llvmpipe: Remove unnecessary headers. 2010-02-10 00:35:48 -08:00
Zack Rusin 08e2eab8a4 scons: export drawllvm after actually checking that llvm is present 2010-02-10 00:08:36 -05:00
Kristian Høgsberg c19dab7c59 egl_dri2: Only allocate config if we're going to keep it
Small optimization.
2010-02-09 21:24:15 -05:00
Kristian Høgsberg c3c1a7e1d9 egl_dri2: Initialize config attributes with visual id and class from X 2010-02-09 21:24:15 -05:00
Kristian Høgsberg 368bb3dc2b eglinfo: Also print visual type, assuming X visual types
This may not make a lot of sense for non-X EGL, but for EGL under X
it's very useful.
2010-02-09 21:24:14 -05:00
Kristian Høgsberg 360faf80ca egl_dri2: Allow pbuffer and pixmap surfaces for all configs 2010-02-09 21:24:14 -05:00
Pauli Nieminen 77e6fb17d9 radeon: Fix printf formatings to match te values. 2010-02-10 03:20:11 +02:00
Pauli Nieminen 42026a8ccf radeon: Define EXT_framebuffer_object constants to match hw.
This hides the assertion failure in glean/fbo test. Underlying
problem when same texture is set twice to different attachments
will cause assertion.
2010-02-10 03:20:11 +02:00
Brian Paul 4bce2fb30e mesa: move all limit/constant assertions into check_context_limits() 2010-02-09 18:08:04 -07:00
Francisco Jerez 96100f39be Drop incorrectly revived files during the 'gallium-nopointsizeminmax' merge. 2010-02-10 00:43:43 +01:00
Corbin Simpson dbc1340191 r300g: One less assert.
This entire codepath needs to be cleaned to be more pliant towards
shader failure.
2010-02-09 13:58:53 -08:00
Corbin Simpson 8c85002951 r300g: Don't write non-existent bit on non-r500.
Might help with compiz being funky with MRTs.
2010-02-09 13:53:30 -08:00
Corbin Simpson 67b60b9934 r300g: Correct colorbuffer measurements.
Also clarify changes from pointminmax.
2010-02-09 13:50:54 -08:00
Corbin Simpson 5a27a77d00 r300g: Be ever-so-slightly more useful on bad shaders. 2010-02-09 13:50:38 -08:00
Kristian Høgsberg 1ebc568154 configure.ac: Enable egl demos when --enable-egl is passed 2010-02-09 15:55:25 -05:00
Kristian Høgsberg ab487f7ffa xeglgears: Add test case for eglBindTexImage() 2010-02-09 15:55:25 -05:00