summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-04-23st/mesa: clean-up: use st_context() everywhereBrian Paul
2010-04-23mesa: simplify some code in _mesa_generate_mipmap()Brian Paul
2010-04-23st/mesa: re-do binding flags in st_ChooseTextureFormat(), againBrian Paul
Try to specify render target bindings flags first. If that fails, try again with just sampler view binding. Note that we try to create the texture resource with render target binding flags later when we allocate the texture. Then, in FBO validation, we check if we can actually render to the textures. If that fails, we generate GL_FRAMEBUFFER_UNSUPPORTED_EXT. Changes suggested by Jose.
2010-04-23st/mesa: replace 'usage' with 'bindings'Brian Paul
2010-04-23st/mesa: replace 'usage' with 'bindings' to be consistentBrian Paul
Plus, update comments and formatting.
2010-04-23st/mesa: don't set RENDER_TARGET/DEPTH_STENCIL flag for compressed texturesBrian Paul
2010-04-23st/mesa: get rid of default_deep_rgba_format()Brian Paul
This special-case code used to be used for the accum buffer but the accum buffer implementation was changed some time ago.
2010-04-23mesa: make is_compressed_format() non-staticBrian Paul
2010-04-23mesa: faster, simpler is_compressed_format()Brian Paul
2010-04-23mesa/st: Remove dead members.José Fonseca
2010-04-23Merge remote branch 'origin/7.8'Jerome Glisse
2010-04-23r600: don't enable depth test if there is no depth bufferJerome Glisse
If there is no depth buffer bound to current context don't enable depth test. GL states that if depth test is enabled without depth buffer it's as if depth buffer always pass. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-04-23Merge branch '7.8'Michel Dänzer
2010-04-22i965: Fix assertion for surface tile offset usage on Ironlake.Eric Anholt
Fixes assertion failure in fbo-generatemipmap-npot.
2010-04-22i965: Fix scissoring when width or height is 0.Eric Anholt
We would run into trouble due to the hardware using inclusive numbers and the subtraction to handle that producing negative (meaning large positive) coordinates. Bug #27643.
2010-04-22radeon: 9800 SE has only one quadpipeTormod Volden
Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2010-04-22st/mesa: assert that binding flags are properly set for drawing surfacesBrian Paul
2010-04-22st/mesa: fix binding flags in st_ChooseTextureFormat()Brian Paul
See comment for more info.
2010-04-22DRI2/GLX: check for vblank_mode in DRI2 GLX codeJesse Barnes
Re-add support for the vblank_mode environment and configuration variable. Useful for benchmarking and app control.
2010-04-22DRI2: add config query extensionJesse Barnes
Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options.
2010-04-22st/mesa: consolidate code for finding supported formatsBrian Paul
2010-04-22st/mesa: refactor depth/stencil format selection codeBrian Paul
2010-04-22mesa: sort texel fetch/store table by format indexBrian Paul
2010-04-22Merge branch '7.8'Brian Paul
Conflicts: src/mesa/state_tracker/st_format.c
2010-04-22st/mesa: add cases for MESA_FORMAT_Z24_X8, MESA_FORMAT_X8_Z24Brian Paul
2010-04-22mesa: fix conversion errors in signed_rgba8888[rev] texel fetchBrian Paul
Without the cast the returned texel colors were wrong. Also, we don't need the "& 0xff" part anymore. Bug found by Vinson Lee.
2010-04-22r300: fix vertex unit setupAlex Deucher
RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
2010-04-21radeon: fix warningMarek Olšák
2010-04-21mesa/st: Translate a few more mesa/gallium formats.José Fonseca
These endup used by Xvnc.
2010-04-20mesa: do version checking for GL 3.x queriesBrian Paul
2010-04-20mesa: API and state for GL 3.1 primitive restartBrian Paul
2010-04-20mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK queryBrian Paul
2010-04-20mesa: remove some commentsBrian Paul
2010-04-21intel: Add Sandybridge mobile chipset idZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-21intel: Clean up chipset name and gen num for IronlakeZhenyu Wang
Rename old IGDNG to Ironlake, and set 'gen' number for Ironlake as 5, so tracking the features with generation num instead of special is_ironlake flag. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-20mesa: better, smaller error handling code for glGet*()Brian Paul
get.o is about 17% smaller.
2010-04-20mesa: better, smaller error handling code for glEnable/Disable/IsEnabled()Brian Paul
Use a goto instead of replicating the _mesa_error() call many times. enable.o is about 15% smaller.
2010-04-20mesa: raise GL_INVALID_OPERATION for glReadPixels(GL_COLOR_INDEX)Brian Paul
We no longer support CI-mode color buffers so this is always an error.
2010-04-20i915: Map sampler indices to texture units correctly for fragment shaders.Eric Anholt
Fixes hang with "gst-launch-0.10 videotestsrc ! video/x-raw-rgb ! glupload ! gleffects effect=heat ! glimagesink" which uses 2 samplers pointing at GL_TEXTURE1 and GL_TEXTURE2, and piglit glsl-fs-sampler-numbering.
2010-04-20i915: Add missing break; after handling the stub NOISE instructions.Eric Anholt
Bug #27348
2010-04-20gallium: replace pipe_resource::_usage with pipe_resource::usageBrian Paul
2010-04-20Merge branch 'gallium-index-bias'José Fonseca
2010-04-19glapi: GL 3.x xml fileBrian Paul
Some of the entrypoints defined in other .xml files will need to be removed in favor of these...
2010-04-19Merge branch '7.8'Jesse Barnes
2010-04-19mesa: unmap the immediate mode VB before destroying itBrian Paul
Fixes failed assertion from fd.o bug 27713. The assertion was added with the new resource/transfer changes. This patch could apply to the 7.8 branch but it's not essential.
2010-04-19mesa/st: Update for index bias interface change.José Fonseca
2010-04-19st/mesa: invert scissor rect depending on FB orientationBrian Paul
Fixes fd.o bug 27715
2010-04-19mesa: Fix build with gcc 3.3.Matthieu Herrb
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-19radeon: Let this build with gcc 3.3Matthieu Herrb
Declaring the loop index inside for () is not supported by this version. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-19radeon: Fix command type for DRM_RADEON_IRQ_EMIT ioctl.Owain Ainsworth
This should be drmCommandWriteRead to avoid an EINVAL error on systems that strictly check ioctl args. This command has been r/w for ever. Discussion with airlied agreed that this was the correct course. Signed-off-by: Brian Paul <brianp@vmware.com>