summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-04-27st/mesa: rename var and update st_choose_format() commentsBrian Paul
2010-04-27st/mesa: call is_format_supported() for compressed formatsBrian Paul
These compressed format switch cases shouldn't be hit if we don't support the compressed texture extensions, but let's be safe and ask the driver if they're supported as we do in other cases.
2010-04-27st/mesa: 80-column wrappingBrian Paul
2010-04-27st/mesa: try to get actual compressed format for GL_COMPRESSED_RGB[A] formatsBrian Paul
2010-04-27st/mesa: fix strides in (de)compress_image() functionsBrian Paul
Mipmap generation for compressed textures works now.
2010-04-27dri_util: Assume error checking is done properly in glXMakeCurrentJakob Bornecrantz
In short what the code did before: __DRIscreen *psp = NULL; if (pcp) psp = pcp->psb; assert(psp); if (psp->stuff) other_stuff(); return psb->even_more(pcp); Remove all that stupid checking which still segfaults/asserts later on and just do what we do in driUnbindContext. Also limited testing show libGL never call driUnbindContext or driBindContext with cPriv == NULL.
2010-04-26mesa: start adding GL 3.1 signed normalized texture formatsBrian Paul
2010-04-26r600: add support for more rendering formatsAlex Deucher
2010-04-26r600: avoid setting invalid bit on r7xx for blitsAlex Deucher
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