aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* st/mesa: move/improve Mesa GPU program debuggingBrian Paul2010-04-281-10/+11
| | | | | Print the program (plus its parameters) before calling st_translate_mesa_program() in case we die in that function.
* st/mesa: add missing debug entry for DEBUG_CONSTANTSBrian Paul2010-04-281-0/+1
|
* Merge branch '7.8'Brian Paul2010-04-282-2/+7
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c
| * st/mesa: fix incorrect RowStride computationBrian Paul2010-04-281-1/+4
| | | | | | | | Fixes incorrect stride when getting a compressed tex image.
| * st/mesa: fill in stImage->level in st_generate_mipmap()Brian Paul2010-04-281-1/+3
| | | | | | | | | | Before, this field was always zero for all the new mipmap levels. Fixes problems with glGetTexImage() from a generated mipmap.
* | Merge branch '7.8'Brian Paul2010-04-281-0/+20
|\| | | | | | | | | | | | | Conflicts: src/glx/dri2_glx.c src/glx/glx_pbuffer.c
| * mesa: Disable scissor when begining meta operationsPierre Willenbrock2010-04-271-0/+1
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * mesa: Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targetsPierre Willenbrock2010-04-271-4/+8
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * glapi: Fix loading of old DRI drivers.Chia-I Wu2010-04-271-0/+20
| | | | | | | | | | | | | | The removal of _glapi_noop_enable_warnings and _glapi_set_warning_func in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0 prevents DRI drivers built before the commit from loading. Add stub versions of the functions to make them load again.
* | Disable scissor when begining meta operationsPierre Willenbrock2010-04-271-0/+1
| | | | | | | | Signed-off-by: Eric Anholt <[email protected]>
* | Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targetsPierre Willenbrock2010-04-271-4/+8
| | | | | | | | Signed-off-by: Eric Anholt <[email protected]>
* | 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.