summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Brian Paul2008-05-187-244/+132
| | | | | | these should be the same functions (as per spec). cherry-picked from master (86a4810b09097714942bf2b889e6c62357bba931)
* s/PIPE_FORMAT_U_S8/PIPE_FORMAT_S8_UNORM/Brian Paul2008-05-173-5/+5
|
* gallium: release textures during context tear-down (fix mem leak)Brian Paul2008-05-161-0/+4
|
* gallium: ref counting clean-upsBrian Paul2008-05-161-8/+5
|
* bring in fixes/changes from masterBrian Paul2008-05-161-5/+14
|
* Fix a program refcounting error, don't share program parameter lists.Brian Paul2008-05-162-41/+20
| | | | | | The refcounting bug was causing a memleak (unfreed programs). The old parameter list sharing is not needed since the change in how uniforms are handled.
* fix an attr/src mix-up when setting-up/binding vertex arraysBrian Paul2008-05-162-5/+7
| | | | | This fixes problems with incorrect material coefficients when glMaterial is called per-vertex.
* fix parsing of state.texenv.color (bug 14931)Brian Paul2008-05-142-2/+4
| | | | cherry-picked from master
* Consolidate texture fetch code and use partial derivatives when possible.Brian Paul2008-05-143-68/+71
| | | | picked from master
* mesa: fix InfoLog memleak, misc sync with masterBrian Paul2008-05-141-4/+8
|
* Bug #13492: Only call ProgramStringNotify if program parsing succeeded.Eric Anholt2008-05-141-2/+2
| | | | | | Wine intentionally tries some out-of-spec programs to test strictness, and calling ProgramStringNotify on the results of a failed program parse resulted in crashes in the 965 driver.
* fix swizzle error test (bug 11881)Brian2008-05-141-2/+2
|
* fix-up inlined/non-inlined function inconsistenciesBrian Paul2008-05-142-9/+9
| | | | cherry-picked from master
* mesa: rm unneeded fileBrian Paul2008-05-141-64/+0
|
* mesa: prefix rm command with -Brian Paul2008-05-141-1/+1
|
* rewrite some of the mat*mat, mat*vec intrinsicsBrian Paul2008-05-143-567/+336
| | | | | | Also, remove obsolete matrix codegen code. cherry-picked from master
* mesa: regenerate slang built-in data (asin(vec4) fix)Brian Paul2008-05-141-41/+42
|
* mesa: fix missing w assignment in asin(vec4)Brian Paul2008-05-141-0/+1
|
* mesa: use CALLOC_STRUCT()Brian Paul2008-05-141-2/+1
|
* mesa: sync up swrast/s_fragprog.c with masterBrian Paul2008-05-141-16/+22
|
* mesa: updated commentBrian Paul2008-05-141-6/+3
|
* mesa: minor bug fixes from masterBrian Paul2008-05-141-1/+11
|
* mesa: dead code removalBrian Paul2008-05-141-3/+0
|
* mesa: minor bug fixes, null ptr checks, dead code removalBrian Paul2008-05-141-11/+8
|
* mesa: fix errors in LightModelProduct state, other misc error casesBrian Paul2008-05-141-5/+11
|
* mesa: glUniform(location==-1) is not an errorBrian Paul2008-05-141-0/+9
|
* fix some additional program refcounting bugsBrian Paul2008-05-143-9/+6
| | | | cherry-picked from master
* mesa: free shader program data before deleting shader objects.Brian2008-05-061-0/+16
| | | | | Picked from master. Fixes mem corruption seen when glean/api2 test exits.
* gallium: implement full reference counting for vertex/fragment programsBrian2008-05-0611-74/+170
| | | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed...
* mesa: comments, whitespaceBrian2008-05-061-24/+19
|
* gallium: change calculate_first_last_level() to match gallium-tex-surfaces ↵Brian Paul2008-05-061-1/+1
| | | | branch
* fix _mesa_ffs for alternative compilersAlan Hourihane2008-05-051-19/+17
|
* declare atoms as externAlan Hourihane2008-05-051-14/+14
|
* gallium: fix warningsBrian Paul2008-05-031-1/+3
|
* gallium: fix sampler->max_lod computationBrian Paul2008-05-031-2/+3
|
* gallium: fix computation of sampler->min_lodBrian Paul2008-05-031-1/+1
| | | | | The texture BaseLevel is accounted for in texture layout so it doesn't factor in here. May also need to adjust max_lod...
* gallium: minor code, comments clean-upBrian Paul2008-05-021-26/+16
|
* gallium: in st_finalize_texture() check texture dimensionsBrian Paul2008-05-021-1/+4
| | | | | | Check dimensions in addition to target, format, etc. Fixes a bug where we failed to detect a change in texture image sizes and wound up using the old texture data.
* gallium: Reallocate pipe_texture in st_TexImage if the texture object was used.Michel Dänzer2008-05-023-8/+10
| | | | Fixes problems with interleaved glTexImage and rendering calls.
* snprintf -> util_snprintfAlan Hourihane2008-05-021-6/+6
|
* revert mode change back to 644Alan Hourihane2008-05-023-0/+0
|
* inline -> INLINEAlan Hourihane2008-05-021-2/+2
|
* Some changed for non-C99 compilersAlan Hourihane2008-05-0217-118/+94
|
* gallium: Set sampler->min_lod instead of always reallocating pipe_textures.Michel Dänzer2008-05-012-16/+3
|
* mesa: squash harmless warningKeith Whitwell2008-05-011-1/+1
|
* Fix build problem with MSVCAlan Hourihane2008-05-011-3/+7
|
* gallium: remove old filesBrian Paul2008-04-302-143/+0
|
* gallium: fix texture border removal bugBrian Paul2008-04-301-0/+4
|
* gallium: use the newer PIPE_FORMAT_x_UNORM format namesBrian Paul2008-04-302-18/+18
|
* Add support for GL_REPLACE_EXT texture env mode.Brian Paul2008-04-301-1/+6
| | | | | | GL_REPLACE_EXT comes from the ancient GL_EXT_texture extension. Found an old demo that actually uses it. The values of the GL_REPLACE and GL_REPLACE_EXT tokens is different, unfortunately.