aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* fix instruction comment codeBrian2007-04-212-1/+9
|
* another bit of debug codeBrian2007-04-211-0/+3
|
* free subroutine array (fix mem leak)Brian2007-04-211-1/+8
|
* new varnames in slang_operation_insert()Brian2007-04-211-17/+17
|
* fix memleak in slang_operation_insert()Brian2007-04-211-0/+2
|
* free shProg->Attributes in _mesa_free_shader_program_data()Brian2007-04-211-0/+5
|
* move allocation of shProg->Attributes earlier in functionBrian2007-04-211-3/+3
|
* Call _mesa_warning() instead of _mesa_problem() when external s3tc lib not ↵Brian2007-04-211-6/+6
| | | | | | found. The later incorrectly encourages filing a bug (10703, for example).
* Remove unused Imakefiles.Brian2007-04-201-129/+0
|
* Long obsolete.Brian2007-04-201-21/+0
|
* added new xm_glide.c fileBrian2007-04-201-0/+1
|
* xmesa: call _glapi_set_dispatch() for all xserver DDXes.George Sapountzis2007-04-201-2/+0
| | | | | | This is to unify the xmesa code across xserver DDX'es. The call is intented for XGL, but it does not hurt to call for other DDX'es. In fact it was not guarded against XGL when it was first added in xserver.
* xmesa: minor cosmeticGeorge Sapountzis2007-04-201-29/+25
| | | | mainly drop 'client' argument from initialize_visual_and_buffer().
* xmesa: split FX functions to separate file, part 2.George Sapountzis2007-04-204-15/+32
|
* xmesa: split FX functions to separate file, part 1.George Sapountzis2007-04-204-240/+300
|
* xmesa: spilt FX code to separate functions.George Sapountzis2007-04-203-27/+34
|
* Revert "xmesa: drop glide (FX) backend."George Sapountzis2007-04-203-6/+284
| | | | This reverts commit 2a2f8d806f74619f0a7cf97fdc7f7b3ad1cad81b.
* Put gl_program_machine into swrast structure rather than using a local variable.Brian2007-04-192-10/+13
| | | | | Basically an easy way to make sure the memory gets initialized once (to zero) to avoid lots of valgrind warnings.
* Fix valgrind problem caused by reading text[-1].Brian2007-04-191-3/+5
|
* remove invalid assertion (span->facing may be set because of polygonmode)Brian2007-04-191-2/+0
|
* remove invalid assertionBrian2007-04-191-1/+0
|
* fix crash when program has invalid structure fieldBrian2007-04-191-3/+4
|
* init A.curFuncEndLabel = NULLBrian2007-04-191-0/+1
|
* In _mesa_unpack_depth_span() look for special cases of GLuint->GLushort and ↵Brian2007-04-191-0/+31
| | | | | | | | GLushort->GLuint conversion. This improves performance and avoids int/float/int conversion problems that can introduce errors during glCopyTexImage(). Another fix for the depth peeling algorithm.
* Don't allow deferredTexture if using occlusion query and a frag shader.Brian2007-04-191-4/+17
| | | | | | Occlusion query might depend on the shader killing/discarding fragments. Helps fix depth peeling technique. Also, minor tweaks in interpolate_wpos().
* fix an uninitialized variable and a warningBrian2007-04-181-2/+2
|
* comments, assertionsBrian2007-04-181-2/+3
|
* new commentsBrian2007-04-181-0/+13
|
* record proper datatypes for uniforms/samplersBrian2007-04-181-6/+4
|
* added _slang_gltype_from_specifier()Brian2007-04-183-68/+78
|
* Start fixing some issues with uniform variables and their types.Brian2007-04-185-27/+31
|
* Fix some bugs related to querying active uniforms.Brian2007-04-183-10/+53
|
* fix error strings, add a sanity checkBrian2007-04-181-2/+14
|
* xmesa: drop glide (FX) backend.George Sapountzis2007-04-193-284/+6
| | | | | | glide is no longer compiled with stand-alone libGL, so this will not link. There are still the glide config files. some code in demos and the GLX_MESA_set_3dfx_mode code which could be removed.
* Remove bad assertions, decrement NumShaders in _mesa_detach_shader().Brian2007-04-181-2/+1
| | | | Fixes crashes w/ Brad King's depth peeling test.
* s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token)Brian2007-04-183-6/+6
|
* Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name().Brian2007-04-183-8/+13
| | | | | | The later takes a type parameter so we can match uniforms or attributes/inputs. Used by the GL_ACTIVE_ATTRIBUTE_MAX_LENGTH and GL_ACTIVE_UNIFORM_MAX_LENGTH queries. Fixes problem reported by Brad King in VTK.
* call ProgramStringNotify() after linkingBrian2007-04-181-0/+6
|
* check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669Brian2007-04-181-5/+14
|
* improved fog commentBrian2007-04-181-1/+1
|
* fig segment fault issue in TAG(triangle), (see bug 10589)Xiang, Haihao2007-04-181-19/+24
| | | | | | Bit SS_TWOSIDE_BIT is set if gl_FrontFacing lives in fragment input (see commit 10b5895597d5e069183cb647d17eb412effceb4f). However, VB->ColorPtr[1] isn't assigned after that.
* omit the glide/svga sources from stand-alone libGL (anyone using them?)Brian2007-04-171-3/+1
|
* Enable texture sampling for vertex programs/shaders.Brian2007-04-174-20/+70
| | | | | | | This is a bit of a hack for now because the tnl module is using the swrast module to fetch texels. The texture fetch/filter code should probably be moved into the main/ module since it doesn't really depend upon other swrast code.
* In bind_inputs() set VB->EdgeFlag to NULL if it's not needed.Brian2007-04-171-1/+4
| | | | | | Otherwise, the clip/interp code was finding VB->EdgeFlag to be non-null and reading/writing it when the memory may have been freed earlier in free_space(). This fixes several VTK segfaults/failures reported by Brad King @ Kitware.
* regeneratedBrian2007-04-172-378/+438
|
* fix/simplify some texture functionsBrian2007-04-171-23/+10
|
* more matrix function updatesBrian2007-04-171-96/+300
|
* don't set GL_TEXTURE_MAX_LEVEL for GL_TEXTURE_RECTANGLE_ARB as that ↵Brian2007-04-171-1/+2
| | | | generates an error
* Defer buffer pool creation to the first context creation.Thomas Hellstrom2007-04-173-43/+55
| | | | | | This way we have a hw context so that we can take the hardware lock. Also, at this point, AIGLX isn't locked with the X server context as it is at screen creation.
* cleanups for t_vb_program.cRoland Scheidegger2007-04-171-13/+19
| | | | | | use VertexProgram._Current instead of VertexProgram.Current in a few more places. Only fixup fogc and psiz in case this is really a nv program (others are fine if undefined), and fix this case up so the values actually get written.