Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | st_api: Remove st_module | Jakob Bornecrantz | 2010-04-26 | 2 | -18/+24 |
| | | | | | | The struct st_module isn't needed as it is the same thing as the st_api struct. That is they both represent the API. Instead just use a single function entry point to the the API. | ||||
* | radeon: Remove NULL check of bo_legacy->tobj. | Vinson Lee | 2010-04-24 | 1 | -2/+1 |
| | | | | | | bo_legacy->tobj cannot be NULL before the call to driUpdateTextureLRU. There is a NULL check earlier in the routine, and if bo_legacy->tobj is NULL, memory is allocated. | ||||
* | dri: Remove unnecessary header. | Vinson Lee | 2010-04-24 | 1 | -1/+0 |
| | |||||
* | mesa: Eliminate multiple va_list usage. | José Fonseca | 2010-04-24 | 2 | -6/+8 |
| | | | | | | | va_list is a mutable iterator. When passed to a function it will likely point to somewhere else. This fixes segmentation fault in glean vertProg1 on Ubuntu 9.10. | ||||
* | st/mesa: checkpoint WIP: mipmap generation for compressed textures | Brian Paul | 2010-04-23 | 1 | -10/+102 |
| | | | | | Something is wrong with the images strides when compressing/decompressing images... | ||||
* | st/mesa: minor improvements in fallback_generate_mipmap() | Brian Paul | 2010-04-23 | 1 | -10/+11 |
| | |||||
* | st/mesa: remove unneeded #includes and add/update comments | Brian Paul | 2010-04-23 | 1 | -9/+7 |
| | |||||
* | st/mesa: clean-up: use st_context() everywhere | Brian Paul | 2010-04-23 | 20 | -114/+138 |
| | |||||
* | mesa: simplify some code in _mesa_generate_mipmap() | Brian Paul | 2010-04-23 | 1 | -19/+10 |
| | |||||
* | st/mesa: re-do binding flags in st_ChooseTextureFormat(), again | Brian Paul | 2010-04-23 | 1 | -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 Paul | 2010-04-23 | 1 | -12/+20 |
| | |||||
* | st/mesa: replace 'usage' with 'bindings' to be consistent | Brian Paul | 2010-04-23 | 1 | -10/+6 |
| | | | | Plus, update comments and formatting. | ||||
* | st/mesa: don't set RENDER_TARGET/DEPTH_STENCIL flag for compressed textures | Brian Paul | 2010-04-23 | 1 | -5/+7 |
| | |||||
* | st/mesa: get rid of default_deep_rgba_format() | Brian Paul | 2010-04-23 | 1 | -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-static | Brian Paul | 2010-04-23 | 3 | -38/+40 |
| | |||||
* | mesa: faster, simpler is_compressed_format() | Brian Paul | 2010-04-23 | 1 | -18/+24 |
| | |||||
* | mesa/st: Remove dead members. | José Fonseca | 2010-04-23 | 1 | -1/+0 |
| | |||||
* | Merge remote branch 'origin/7.8' | Jerome Glisse | 2010-04-23 | 1 | -1/+4 |
|\ | |||||
| * | r600: don't enable depth test if there is no depth buffer | Jerome Glisse | 2010-04-23 | 1 | -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änzer | 2010-04-23 | 1 | -0/+2 |
|\| | |||||
| * | radeon: 9800 SE has only one quadpipe | Tormod Volden | 2010-04-22 | 1 | -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 Anholt | 2010-04-22 | 1 | -1/+1 |
| | | | | | | | | Fixes assertion failure in fbo-generatemipmap-npot. | ||||
* | | i965: Fix scissoring when width or height is 0. | Eric Anholt | 2010-04-22 | 1 | -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 surfaces | Brian Paul | 2010-04-22 | 1 | -0/+10 |
| | | |||||
* | | st/mesa: fix binding flags in st_ChooseTextureFormat() | Brian Paul | 2010-04-22 | 1 | -1/+14 |
| | | | | | | | | See comment for more info. | ||||
* | | DRI2/GLX: check for vblank_mode in DRI2 GLX code | Jesse Barnes | 2010-04-22 | 1 | -0/+11 |
| | | | | | | | | | | Re-add support for the vblank_mode environment and configuration variable. Useful for benchmarking and app control. | ||||
* | | DRI2: add config query extension | Jesse Barnes | 2010-04-22 | 6 | -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 formats | Brian Paul | 2010-04-22 | 1 | -92/+57 |
| | | |||||
* | | st/mesa: refactor depth/stencil format selection code | Brian Paul | 2010-04-22 | 1 | -12/+45 |
| | | |||||
* | | mesa: sort texel fetch/store table by format index | Brian Paul | 2010-04-22 | 1 | -250/+256 |
| | | |||||
* | | Merge branch '7.8' | Brian Paul | 2010-04-22 | 3 | -15/+20 |
|\| | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_format.c | ||||
| * | st/mesa: add cases for MESA_FORMAT_Z24_X8, MESA_FORMAT_X8_Z24 | Brian Paul | 2010-04-22 | 1 | -0/+4 |
| | | |||||
| * | mesa: fix conversion errors in signed_rgba8888[rev] texel fetch | Brian Paul | 2010-04-22 | 1 | -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 setup | Alex Deucher | 2010-04-22 | 1 | -7/+8 |
| | | | | | | | | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden. | ||||
* | | radeon: fix warning | Marek Olšák | 2010-04-21 | 1 | -1/+1 |
| | | |||||
* | | mesa/st: Translate a few more mesa/gallium formats. | José Fonseca | 2010-04-21 | 2 | -5/+17 |
| | | | | | | | | These endup used by Xvnc. | ||||
* | | mesa: do version checking for GL 3.x queries | Brian Paul | 2010-04-20 | 2 | -8/+74 |
| | | |||||
* | | mesa: API and state for GL 3.1 primitive restart | Brian Paul | 2010-04-20 | 6 | -0/+76 |
| | | |||||
* | | mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK query | Brian Paul | 2010-04-20 | 4 | -5/+27 |
| | | |||||
* | | mesa: remove some comments | Brian Paul | 2010-04-20 | 1 | -12/+10 |
| | | |||||
* | | intel: Add Sandybridge mobile chipset id | Zhenyu Wang | 2010-04-21 | 1 | -1/+3 |
| | | | | | | | | Signed-off-by: Zhenyu Wang <[email protected]> | ||||
* | | intel: Clean up chipset name and gen num for Ironlake | Zhenyu Wang | 2010-04-21 | 24 | -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 Paul | 2010-04-20 | 2 | -623/+645 |
| | | | | | | | | get.o is about 17% smaller. | ||||
* | | mesa: better, smaller error handling code for glEnable/Disable/IsEnabled() | Brian Paul | 2010-04-20 | 1 | -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 Paul | 2010-04-20 | 1 | -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 Anholt | 2010-04-20 | 1 | -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 Anholt | 2010-04-20 | 1 | -0/+1 |
| | | | | | | | | Bug #27348 | ||||
* | | gallium: replace pipe_resource::_usage with pipe_resource::usage | Brian Paul | 2010-04-20 | 2 | -2/+2 |
| | | |||||
* | | Merge branch 'gallium-index-bias' | José Fonseca | 2010-04-20 | 2 | -7/+7 |
|\ \ | |||||
| * | | mesa/st: Update for index bias interface change. | José Fonseca | 2010-04-19 | 2 | -7/+7 |
| | | |