summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
Commit message (Collapse)AuthorAgeFilesLines
* Ensure PRIM_BEGIN marker isn't lost when incomplete primitives are wrapped.Keith Whitwell2003-12-033-14/+27
|
* Fix generic/conventional vertex array glitches.Brian Paul2003-11-292-59/+77
| | | | | | | | Changed _NEW_ARRAY_ATTRIB_0 back to 0x10000 so that the conventional and generic enable bits do not alias. In ac_import.c test Array.Normal.Enabled instead of Array._Enabled & _NEW_ARRAY_COLOR0, etc. In t_array_import.c give priority for generic arrays over conventional arrays on an individual basis, not all or none.
* fix assorted g++ warningsBrian Paul2003-11-256-35/+36
|
* Remove unnecessary usage of __FUNCTION__.Brian Paul2003-11-254-37/+24
| | | | #define MESA_FUNCTION to __FUNCTION__ if MESA_DEBUG is defined.
* minor cast fixesBrian Paul2003-11-241-2/+2
|
* set the VB->FogCoordPtr with the other legacy pointersBrian Paul2003-11-243-0/+3
|
* remove dead filesKeith Whitwell2003-11-246-3344/+0
|
* Merge vtx-0-2-branchKeith Whitwell2003-11-2439-5979/+4262
|
* fix texgen bug 597589Brian Paul2003-11-171-2/+2
|
* Redo array element checking for vertex array buffers.Brian Paul2003-11-101-0/+2
| | | | | | | 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.
* s/GLuint */GLvoid */Brian Paul2003-10-231-1/+1
|
* Initial work for bounds checking of vertex arrays and vertex buffer objects.Brian Paul2003-10-225-21/+28
| | | | | | Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-216-70/+70
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* fix some sphere texgen bugs (reported by Daniel Borca)Brian Paul2003-10-111-12/+12
|
* index wasn't being calculated correctly (result was being discarded)Keith Whitwell2003-10-071-5/+6
| | | | in light_ci()
* Updates required for building the SciTech SNAP version of Mesa. This includes:Kendall Bennett2003-09-303-8/+8
| | | | | | | | | | | | | | | | | | | | | | | 1. Changes to the main header files to exclude some stuff is __SCITECH_SNAP__ is defined. The main GL/gl.h header file in SciTech SNAP is actually a wrapper that defines a bunch of necessary stuff and then included GL/gl_mesa.h which is the normal Mesa GL/gl.h header file renamed. 2. Changed APIENTRY * to APIENTRYP macros in the GL/gl.h and GL/glext.h header files. This will better support other compilers like IBM VisualAge C++. I added a basic macro for APIENTRYP to GL/gl.h (inside the !SNAP block), so existing code will compile the same, but when the SNAP version is being built we will use the correc definitions for the target compiler. 3. Changed a few more void * declarations to GLvoid *'s to avoid Open Watcom compiler complaints. 4. Updates the OPENGL_VERSION macro to include a patch number (set to 0 for now). Probably not necessary, but the original macro was wrong and we use that macro in our code. 5. Changed _tnl_end() to _tnl_end_ctx() to avoid conflicts with _tnl_End when using a compiler that has a case insensitive link.
* Assorted casts to silence g++ warnings.Brian Paul2003-09-195-10/+10
|
* Make binary - even though this is a text file, common practice is to store ↵Karl Schultz2003-09-191-252/+252
| | | | MS studio files as binary
* Move away from using the ctx->_TriangleCaps bitfield.Brian Paul2003-09-181-4/+4
| | | | | New macros in context.h for testing state: NEED_SECONDARY_COLOR and NEED_TWO_SIDED_LIGHTING.
* Implement GL_ELEMENT_ARRAY_BUFFER_ARB for buffer objects.Brian Paul2003-09-172-2/+49
|
* GL_ARB_vertex_buffer_object working now, at least for non-indexedBrian Paul2003-09-174-34/+56
| | | | vertex arrays.
* new castsBrian Paul2003-09-172-2/+2
|
* More work on ARB_vertex_buffer_object.Brian Paul2003-09-172-4/+4
| | | | | Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
* Generate browse info for Debug version.Karl Schultz2003-08-301-2/+2
|
* Use correct conversions when translating array colors.Keith Whitwell2003-08-202-239/+86
|
* Re-org of register files for vertex/fragment programs. Will be easier toBrian Paul2003-08-171-23/+6
| | | | hook in global state references, etc. for ARB programs.
* Newer version of this fileKeith Whitwell2003-08-061-569/+659
|
* Store material attributes in an Attrib[] style array. This is aKeith Whitwell2003-08-057-132/+100
| | | | | first step to reviving/rescuing the 'vtx' rework from the old mesa tree.
* Fix typo (& instead of &&) to fix olympic.c bugKeith Whitwell2003-08-011-1/+1
|
* VC 6 Project FileKarl Schultz2003-07-261-0/+252
|
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-173-4/+5
|
* Committing in .Jouk Jansen2003-07-021-0/+23
| | | | | | | | | | | | | | | | | | | | Enable installation on OpenVMS ODS5 disks. Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* Committing in .Jouk Jansen2003-06-171-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | OpenVMS support for new directory tree Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glu/sgi/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Added Files: Mesa-newtree/descrip.mms Mesa-newtree/mms-config. Mesa-newtree/src/descrip.mms Mesa-newtree/src/glu/descrip.mms Mesa-newtree/src/mesa/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms Mesa-newtree/vms/analyze_map.com Mesa-newtree/vms/xlib.opt Mesa-newtree/vms/xlib_share.opt ----------------------------------------------------------------------
* added null pointer check in tnl_copy_to_current()Brian Paul2003-06-111-1/+1
|
* clean up _tnl_copy_to_current()Brian Paul2003-06-111-37/+12
|
* add missing vertex attribs in _tnl_copy_to_current()Brian Paul2003-06-101-6/+12
|
* fixed secondary color typoBrian Paul2003-06-101-1/+1
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-0527-27/+0
|
* Added support for NV_light_max_exponent.Ian Romanick2003-05-301-2/+2
|
* s/_T_VBXFORM_H/_T_IMM_EXEC_H/Brian Paul2003-05-281-6/+4
|
* silence some warnings (Evgeny Kotsuba)Brian Paul2003-05-282-4/+4
|
* more docs (Klaus Niederkruger)Brian Paul2003-05-011-14/+30
|
* Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places.Brian Paul2003-05-015-19/+13
| | | | Misc vertex array / vertex program changes.
* new comments (Klaus Niederkruger)Brian Paul2003-04-281-10/+37
|
* remove a constBrian Paul2003-04-101-3/+1
|
* drawarrayrange fixKeith Whitwell2003-04-101-1/+8
|
* Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul2003-04-086-57/+114
| | | | | | Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
* initialize attribute vectors to 4 componentsBrian Paul2003-04-071-1/+3
|
* fix color array mixupBrian Paul2003-04-071-2/+2
|
* Don't unset FLUSH_STORED_VERTICES in _tnl_execute_cassette as this mayKeith Whitwell2003-04-071-3/+5
| | | | break driver callbacks.