Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use new memory pool allocator. Lots of debug code still in place... | Brian | 2007-04-21 | 17 | -29/+511 |
| | |||||
* | added MemPool field | Brian | 2007-04-21 | 1 | -0/+1 |
| | |||||
* | call grammar_alloc_free() to fix memleaks | Brian | 2007-04-21 | 1 | -0/+2 |
| | |||||
* | remove more unused vars, assertions | Brian | 2007-04-21 | 1 | -4/+2 |
| | |||||
* | remove unused vars, assertions | Brian | 2007-04-21 | 1 | -4/+2 |
| | |||||
* | added slang_mem.c | Brian | 2007-04-21 | 1 | -0/+1 |
| | |||||
* | Memory pool manager. | Brian | 2007-04-21 | 2 | -0/+201 |
| | | | | | | Instead of doing intricate malloc/free tracking during compiling, allocate everything (which would be discarded after compiling) from a pool that can be freed en masse when done. | ||||
* | undo a test/debug change | Brian | 2007-04-21 | 1 | -1/+1 |
| | |||||
* | fix instruction comment code | Brian | 2007-04-21 | 2 | -1/+9 |
| | |||||
* | another bit of debug code | Brian | 2007-04-21 | 1 | -0/+3 |
| | |||||
* | free subroutine array (fix mem leak) | Brian | 2007-04-21 | 1 | -1/+8 |
| | |||||
* | new varnames in slang_operation_insert() | Brian | 2007-04-21 | 1 | -17/+17 |
| | |||||
* | fix memleak in slang_operation_insert() | Brian | 2007-04-21 | 1 | -0/+2 |
| | |||||
* | free shProg->Attributes in _mesa_free_shader_program_data() | Brian | 2007-04-21 | 1 | -0/+5 |
| | |||||
* | move allocation of shProg->Attributes earlier in function | Brian | 2007-04-21 | 1 | -3/+3 |
| | |||||
* | Call _mesa_warning() instead of _mesa_problem() when external s3tc lib not ↵ | Brian | 2007-04-21 | 1 | -6/+6 |
| | | | | | | found. The later incorrectly encourages filing a bug (10703, for example). | ||||
* | Remove unused Imakefiles. | Brian | 2007-04-20 | 1 | -129/+0 |
| | |||||
* | Long obsolete. | Brian | 2007-04-20 | 1 | -21/+0 |
| | |||||
* | added new xm_glide.c file | Brian | 2007-04-20 | 1 | -0/+1 |
| | |||||
* | xmesa: call _glapi_set_dispatch() for all xserver DDXes. | George Sapountzis | 2007-04-20 | 1 | -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 cosmetic | George Sapountzis | 2007-04-20 | 1 | -29/+25 |
| | | | | mainly drop 'client' argument from initialize_visual_and_buffer(). | ||||
* | xmesa: split FX functions to separate file, part 2. | George Sapountzis | 2007-04-20 | 4 | -15/+32 |
| | |||||
* | xmesa: split FX functions to separate file, part 1. | George Sapountzis | 2007-04-20 | 4 | -240/+300 |
| | |||||
* | xmesa: spilt FX code to separate functions. | George Sapountzis | 2007-04-20 | 3 | -27/+34 |
| | |||||
* | Revert "xmesa: drop glide (FX) backend." | George Sapountzis | 2007-04-20 | 3 | -6/+284 |
| | | | | This reverts commit 2a2f8d806f74619f0a7cf97fdc7f7b3ad1cad81b. | ||||
* | Put gl_program_machine into swrast structure rather than using a local variable. | Brian | 2007-04-19 | 2 | -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]. | Brian | 2007-04-19 | 1 | -3/+5 |
| | |||||
* | remove invalid assertion (span->facing may be set because of polygonmode) | Brian | 2007-04-19 | 1 | -2/+0 |
| | |||||
* | remove invalid assertion | Brian | 2007-04-19 | 1 | -1/+0 |
| | |||||
* | fix crash when program has invalid structure field | Brian | 2007-04-19 | 1 | -3/+4 |
| | |||||
* | init A.curFuncEndLabel = NULL | Brian | 2007-04-19 | 1 | -0/+1 |
| | |||||
* | In _mesa_unpack_depth_span() look for special cases of GLuint->GLushort and ↵ | Brian | 2007-04-19 | 1 | -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. | Brian | 2007-04-19 | 1 | -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 warning | Brian | 2007-04-18 | 1 | -2/+2 |
| | |||||
* | comments, assertions | Brian | 2007-04-18 | 1 | -2/+3 |
| | |||||
* | new comments | Brian | 2007-04-18 | 1 | -0/+13 |
| | |||||
* | record proper datatypes for uniforms/samplers | Brian | 2007-04-18 | 1 | -6/+4 |
| | |||||
* | added _slang_gltype_from_specifier() | Brian | 2007-04-18 | 3 | -68/+78 |
| | |||||
* | Start fixing some issues with uniform variables and their types. | Brian | 2007-04-18 | 5 | -27/+31 |
| | |||||
* | Fix some bugs related to querying active uniforms. | Brian | 2007-04-18 | 3 | -10/+53 |
| | |||||
* | fix error strings, add a sanity check | Brian | 2007-04-18 | 1 | -2/+14 |
| | |||||
* | xmesa: drop glide (FX) backend. | George Sapountzis | 2007-04-19 | 3 | -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(). | Brian | 2007-04-18 | 1 | -2/+1 |
| | | | | Fixes crashes w/ Brad King's depth peeling test. | ||||
* | s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token) | Brian | 2007-04-18 | 3 | -6/+6 |
| | |||||
* | Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name(). | Brian | 2007-04-18 | 3 | -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 linking | Brian | 2007-04-18 | 1 | -0/+6 |
| | |||||
* | check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669 | Brian | 2007-04-18 | 1 | -5/+14 |
| | |||||
* | improved fog comment | Brian | 2007-04-18 | 1 | -1/+1 |
| | |||||
* | fig segment fault issue in TAG(triangle), (see bug 10589) | Xiang, Haihao | 2007-04-18 | 1 | -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?) | Brian | 2007-04-17 | 1 | -3/+1 |
| |