summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-04-26r600: enable VERT_RESULT_PSIZ - makes point size & attenuation workAndre Maasikas
doc additions: shader export ARRAY_BASE for EXPORT_POS: 60 is position, 61 is misc vec(VS_OUT_MISC_VEC - used here), 62, 63 are clip distance vectors(VS_OUT_CCDIST#) sorry for formating - there seem to be so many different styles in r600
2010-04-26r600: adjust point sprites after 911fa4a4a1Andre Maasikas
there's no more vp results for point coords so we cannot iterate over vp outputs. Use only Point.CoordReplace[i]
2010-04-26st_api: Remove st_moduleJakob Bornecrantz
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.
2010-04-24radeon: Remove NULL check of bo_legacy->tobj.Vinson Lee
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.
2010-04-24dri: Remove unnecessary header.Vinson Lee
2010-04-24mesa: Eliminate multiple va_list usage.José Fonseca
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.
2010-04-23st/mesa: checkpoint WIP: mipmap generation for compressed texturesBrian Paul
Something is wrong with the images strides when compressing/decompressing images...
2010-04-23st/mesa: minor improvements in fallback_generate_mipmap()Brian Paul
2010-04-23st/mesa: remove unneeded #includes and add/update commentsBrian Paul
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