summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Fill the padding between entrys in the sampler keyPierre Willenbrock2010-04-271-1/+7
| | | | | | This struct is used to generate a hash, ignoring the entry boundaries. Signed-off-by: Eric Anholt <[email protected]>
* i915: Add debugging for just prorgam compile under INTEL_DEBUG=wmEric Anholt2010-04-271-0/+11
|
* i915: Provide counts in the error messages for program limits.Eric Anholt2010-04-272-10/+19
|
* radeon: fix warningsMarek Olšák2010-04-281-1/+3
|
* Add missing _ in extension category nameIan Romanick2010-04-271-1/+1
|
* mesa: move/rename is_depth_or_stencil_format()Brian Paul2010-04-273-22/+30
| | | | Put it with other, similar functions.
* st/mesa: rename var and update st_choose_format() commentsBrian Paul2010-04-271-47/+53
|
* st/mesa: call is_format_supported() for compressed formatsBrian Paul2010-04-271-4/+20
| | | | | | 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.
* st/mesa: 80-column wrappingBrian Paul2010-04-271-14/+28
|
* st/mesa: try to get actual compressed format for GL_COMPRESSED_RGB[A] formatsBrian Paul2010-04-271-2/+20
|
* st/mesa: fix strides in (de)compress_image() functionsBrian Paul2010-04-271-14/+2
| | | | Mipmap generation for compressed textures works now.
* dri_util: Assume error checking is done properly in glXMakeCurrentJakob Bornecrantz2010-04-271-14/+17
| | | | | | | | | | | | | | | | | | 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.
* mesa: start adding GL 3.1 signed normalized texture formatsBrian Paul2010-04-266-8/+470
|
* r600: add support for more rendering formatsAlex Deucher2010-04-264-16/+295
|
* r600: avoid setting invalid bit on r7xx for blitsAlex Deucher2010-04-261-0/+4
|
* r600: enable VERT_RESULT_PSIZ - makes point size & attenuation workAndre Maasikas2010-04-262-2/+29
| | | | | | | | 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
* r600: adjust point sprites after 911fa4a4a1Andre Maasikas2010-04-261-10/+11
| | | | | there's no more vp results for point coords so we cannot iterate over vp outputs. Use only Point.CoordReplace[i]
* st_api: Remove st_moduleJakob Bornecrantz2010-04-262-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 Lee2010-04-241-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 Lee2010-04-241-1/+0
|
* mesa: Eliminate multiple va_list usage.José Fonseca2010-04-242-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 texturesBrian Paul2010-04-231-10/+102
| | | | | Something is wrong with the images strides when compressing/decompressing images...
* 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.