aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* st/mesa: minor improvements in fallback_generate_mipmap()Brian Paul2010-04-231-10/+11
|
* st/mesa: remove unneeded #includes and add/update commentsBrian Paul2010-04-231-9/+7
|
* st/mesa: clean-up: use st_context() everywhereBrian Paul2010-04-2320-114/+138
|
* mesa: simplify some code in _mesa_generate_mipmap()Brian Paul2010-04-231-19/+10
|
* st/mesa: re-do binding flags in st_ChooseTextureFormat(), againBrian Paul2010-04-231-12/+17
| | | | | | | | | | 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.
* st/mesa: replace 'usage' with 'bindings'Brian Paul2010-04-231-12/+20
|
* st/mesa: replace 'usage' with 'bindings' to be consistentBrian Paul2010-04-231-10/+6
| | | | Plus, update comments and formatting.
* st/mesa: don't set RENDER_TARGET/DEPTH_STENCIL flag for compressed texturesBrian Paul2010-04-231-5/+7
|
* st/mesa: get rid of default_deep_rgba_format()Brian Paul2010-04-231-23/+1
| | | | | This special-case code used to be used for the accum buffer but the accum buffer implementation was changed some time ago.
* mesa: make is_compressed_format() non-staticBrian Paul2010-04-233-38/+40
|
* mesa: faster, simpler is_compressed_format()Brian Paul2010-04-231-18/+24
|
* mesa/st: Remove dead members.José Fonseca2010-04-231-1/+0
|
* Merge remote branch 'origin/7.8'Jerome Glisse2010-04-231-1/+4
|\
| * r600: don't enable depth test if there is no depth bufferJerome Glisse2010-04-231-1/+4
| | | | | | | | | | | | | | | | 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 <[email protected]>
* | Merge branch '7.8'Michel Dänzer2010-04-231-0/+2
|\|
| * radeon: 9800 SE has only one quadpipeTormod Volden2010-04-221-0/+2
| | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | i965: Fix assertion for surface tile offset usage on Ironlake.Eric Anholt2010-04-221-1/+1
| | | | | | | | Fixes assertion failure in fbo-generatemipmap-npot.
* | i965: Fix scissoring when width or height is 0.Eric Anholt2010-04-221-1/+14
| | | | | | | | | | | | | | | | 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.
* | st/mesa: assert that binding flags are properly set for drawing surfacesBrian Paul2010-04-221-0/+10
| |
* | st/mesa: fix binding flags in st_ChooseTextureFormat()Brian Paul2010-04-221-1/+14
| | | | | | | | See comment for more info.
* | DRI2/GLX: check for vblank_mode in DRI2 GLX codeJesse Barnes2010-04-221-0/+11
| | | | | | | | | | Re-add support for the vblank_mode environment and configuration variable. Useful for benchmarking and app control.
* | DRI2: add config query extensionJesse Barnes2010-04-226-1/+55
| | | | | | | | | | Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options.
* | st/mesa: consolidate code for finding supported formatsBrian Paul2010-04-221-92/+57
| |
* | st/mesa: refactor depth/stencil format selection codeBrian Paul2010-04-221-12/+45
| |
* | mesa: sort texel fetch/store table by format indexBrian Paul2010-04-221-250/+256
| |
* | Merge branch '7.8'Brian Paul2010-04-223-15/+20
|\| | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_format.c
| * st/mesa: add cases for MESA_FORMAT_Z24_X8, MESA_FORMAT_X8_Z24Brian Paul2010-04-221-0/+4
| |
| * mesa: fix conversion errors in signed_rgba8888[rev] texel fetchBrian Paul2010-04-221-8/+8
| | | | | | | | | | | | Without the cast the returned texel colors were wrong. Also, we don't need the "& 0xff" part anymore. Bug found by Vinson Lee.
| * r300: fix vertex unit setupAlex Deucher2010-04-221-7/+8
| | | | | | | | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
* | radeon: fix warningMarek Olšák2010-04-211-1/+1
| |
* | mesa/st: Translate a few more mesa/gallium formats.José Fonseca2010-04-212-5/+17
| | | | | | | | These endup used by Xvnc.
* | mesa: do version checking for GL 3.x queriesBrian Paul2010-04-202-8/+74
| |
* | mesa: API and state for GL 3.1 primitive restartBrian Paul2010-04-206-0/+76
| |
* | mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK queryBrian Paul2010-04-204-5/+27
| |
* | mesa: remove some commentsBrian Paul2010-04-201-12/+10
| |
* | intel: Add Sandybridge mobile chipset idZhenyu Wang2010-04-211-1/+3
| | | | | | | | Signed-off-by: Zhenyu Wang <[email protected]>
* | intel: Clean up chipset name and gen num for IronlakeZhenyu Wang2010-04-2124-148/+146
| | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]>
* | mesa: better, smaller error handling code for glGet*()Brian Paul2010-04-202-623/+645
| | | | | | | | get.o is about 17% smaller.
* | mesa: better, smaller error handling code for glEnable/Disable/IsEnabled()Brian Paul2010-04-201-24/+29
| | | | | | | | | | Use a goto instead of replicating the _mesa_error() call many times. enable.o is about 15% smaller.
* | mesa: raise GL_INVALID_OPERATION for glReadPixels(GL_COLOR_INDEX)Brian Paul2010-04-201-0/+6
| | | | | | | | We no longer support CI-mode color buffers so this is always an error.
* | i915: Map sampler indices to texture units correctly for fragment shaders.Eric Anholt2010-04-201-1/+3
| | | | | | | | | | | | | | 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.
* | i915: Add missing break; after handling the stub NOISE instructions.Eric Anholt2010-04-201-0/+1
| | | | | | | | Bug #27348
* | gallium: replace pipe_resource::_usage with pipe_resource::usageBrian Paul2010-04-202-2/+2
| |
* | Merge branch 'gallium-index-bias'José Fonseca2010-04-202-7/+7
|\ \
| * | mesa/st: Update for index bias interface change.José Fonseca2010-04-192-7/+7
| | |
* | | glapi: GL 3.x xml fileBrian Paul2010-04-191-0/+581
| | | | | | | | | | | | | | | Some of the entrypoints defined in other .xml files will need to be removed in favor of these...
* | | Merge branch '7.8'Jesse Barnes2010-04-196-13/+21
|\ \ \ | | |/ | |/|
| * | st/mesa: invert scissor rect depending on FB orientationBrian Paul2010-04-191-5/+8
| | | | | | | | | | | | Fixes fd.o bug 27715
| * | mesa: Fix build with gcc 3.3.Matthieu Herrb2010-04-192-3/+6
| | | | | | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * | radeon: Let this build with gcc 3.3Matthieu Herrb2010-04-191-3/+5
| | | | | | | | | | | | | | | | | | Declaring the loop index inside for () is not supported by this version. Signed-off-by: Brian Paul <[email protected]>