summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_validate.c
Commit message (Collapse)AuthorAgeFilesLines
* check for count==0 in _mesa_validate_DrawArrays()Brian2007-10-311-2/+3
|
* fix DrawRangeElements error msgBrian2007-09-231-1/+1
|
* refactor bounds checking codeBrian2007-08-201-67/+81
|
* don't map buffer in _mesa_validate_DrawElements() unless neededBrian2007-08-201-32/+19
|
* Fix an error in _mesa_validate_DrawElementsXiang, Haihao2007-07-301-7/+27
| | | | | The field 'Data' in an obj is NULL in some dri drivers(such as i965). Use mapped pointer instead.
* Check if 'indices' parameter is NULL (bug 11314)Brian2007-07-081-2/+17
|
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-5/+5
| | | | | | | and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
* Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul2004-04-231-4/+3
| | | | | | | program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
* glDrawArrays loop was wrongBrian Paul2004-02-241-2/+1
|
* Fix some problems with glDrawElements and vertex buffer objects.Brian Paul2003-12-041-0/+37
|
* casts for g++Brian Paul2003-11-251-1/+1
|
* Redo array element checking for vertex array buffers.Brian Paul2003-11-101-88/+76
| | | | | | | Now, compute ctx->Array._MaxElement as the min of enabled array's max element. Test against ctx->Array._MaxElement in glDrawArrays/Elements. Note: testing in glArrayElement not done yet. Only do element checking if ctx->Const.CheckArrayBounds is set.
* Initial work for bounds checking of vertex arrays and vertex buffer objects.Brian Paul2003-10-221-5/+80
| | | | | | Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-0/+1
|
* remove unneeded unsigned int / zero comparisonsBrian Paul2003-04-211-8/+5
|
* Header file clean-up:Brian Paul2002-10-241-1/+2
| | | | | | | | 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
* check for vertex program modeBrian Paul2002-04-211-12/+16
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-18/+16
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-13/+13
|
* Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell2001-01-051-1/+2
| | | | | | | | | | | | | | is always the last vertex parameter. Modify clipping to preserve pv colors. Modify swrast and X11 driver to expect the pv in the last vertex (was looking in the first vertex previously). Remove all handling of flatshading from swrast_setup. Allow drivers to override the unclipped render tabs in tnl_render_stage directly. (Like in 3.4). Removed fxsimplerender stage. Modified t_vb_rendertmp.h to remove the need for 'parity' arguments in RENDER_TRI macros.
* include state.hBrian Paul2001-01-021-2/+3
|
* Major rework of tnl moduleKeith Whitwell2000-12-261-0/+137
New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.