summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2008-05-19fix program delete/refcount bugBrian Paul
cherry-picked from gallium-tex-surfaces
2008-05-19Fix program refcounting assertion failure during context tear-downBrian Paul
When purging the program hash table, the refcount _should_ be one since the program is referenced by the hash table. Need to explicitly set to zero before calling delete(). Also, purge high-level shader hash tables before low-level program hash tabl cherry-picked from master
2008-05-18print vertex.attrib[n] (from master)Brian Paul
2008-05-18Fix some bugs in material, depth range stateBrian Paul
picked from master
2008-05-18Regenerated API dispatch filesBrian Paul
Follow on to cherry-pick from master
2008-05-18alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Brian Paul
these should be the same functions (as per spec). cherry-picked from master (86a4810b09097714942bf2b889e6c62357bba931)
2008-05-17s/PIPE_FORMAT_U_S8/PIPE_FORMAT_S8_UNORM/Brian Paul
2008-05-16gallium: release textures during context tear-down (fix mem leak)Brian Paul
2008-05-16gallium: ref counting clean-upsBrian Paul
2008-05-16bring in fixes/changes from masterBrian Paul
2008-05-16Fix a program refcounting error, don't share program parameter lists.Brian Paul
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.
2008-05-16fix an attr/src mix-up when setting-up/binding vertex arraysBrian Paul
This fixes problems with incorrect material coefficients when glMaterial is called per-vertex.
2008-05-14fix parsing of state.texenv.color (bug 14931)Brian Paul
cherry-picked from master
2008-05-14Consolidate texture fetch code and use partial derivatives when possible.Brian Paul
picked from master
2008-05-14mesa: fix InfoLog memleak, misc sync with masterBrian Paul
2008-05-14Bug #13492: Only call ProgramStringNotify if program parsing succeeded.Eric Anholt
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.
2008-05-14fix swizzle error test (bug 11881)Brian
2008-05-14fix-up inlined/non-inlined function inconsistenciesBrian Paul
cherry-picked from master
2008-05-14mesa: rm unneeded fileBrian Paul
2008-05-14mesa: prefix rm command with -Brian Paul
2008-05-14rewrite some of the mat*mat, mat*vec intrinsicsBrian Paul
Also, remove obsolete matrix codegen code. cherry-picked from master
2008-05-14mesa: regenerate slang built-in data (asin(vec4) fix)Brian Paul
2008-05-14mesa: fix missing w assignment in asin(vec4)Brian Paul
2008-05-14mesa: use CALLOC_STRUCT()Brian Paul
2008-05-14mesa: sync up swrast/s_fragprog.c with masterBrian Paul
2008-05-14mesa: updated commentBrian Paul
2008-05-14mesa: minor bug fixes from masterBrian Paul
2008-05-14mesa: dead code removalBrian Paul
2008-05-14mesa: minor bug fixes, null ptr checks, dead code removalBrian Paul
2008-05-14mesa: fix errors in LightModelProduct state, other misc error casesBrian Paul
2008-05-14mesa: glUniform(location==-1) is not an errorBrian Paul
2008-05-14fix some additional program refcounting bugsBrian Paul
cherry-picked from master
2008-05-06mesa: free shader program data before deleting shader objects.Brian
Picked from master. Fixes mem corruption seen when glean/api2 test exits.
2008-05-06gallium: implement full reference counting for vertex/fragment programsBrian
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...
2008-05-06mesa: comments, whitespaceBrian
2008-05-06gallium: change calculate_first_last_level() to match gallium-tex-surfaces ↵Brian Paul
branch
2008-05-05fix _mesa_ffs for alternative compilersAlan Hourihane
2008-05-05declare atoms as externAlan Hourihane
2008-05-03gallium: fix warningsBrian Paul
2008-05-03gallium: fix sampler->max_lod computationBrian Paul
2008-05-03gallium: fix computation of sampler->min_lodBrian Paul
The texture BaseLevel is accounted for in texture layout so it doesn't factor in here. May also need to adjust max_lod...
2008-05-02gallium: minor code, comments clean-upBrian Paul
2008-05-02gallium: in st_finalize_texture() check texture dimensionsBrian Paul
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.
2008-05-02gallium: Reallocate pipe_texture in st_TexImage if the texture object was used.Michel Dänzer
Fixes problems with interleaved glTexImage and rendering calls.
2008-05-02snprintf -> util_snprintfAlan Hourihane
2008-05-02revert mode change back to 644Alan Hourihane
2008-05-02inline -> INLINEAlan Hourihane
2008-05-02Some changed for non-C99 compilersAlan Hourihane
2008-05-01gallium: Set sampler->min_lod instead of always reallocating pipe_textures.Michel Dänzer
2008-05-01mesa: squash harmless warningKeith Whitwell