summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
AgeCommit message (Collapse)Author
2003-11-29Fix generic/conventional vertex array glitches.Brian Paul
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.
2003-11-25fix assorted g++ warningsBrian Paul
2003-11-25Remove unnecessary usage of __FUNCTION__.Brian Paul
#define MESA_FUNCTION to __FUNCTION__ if MESA_DEBUG is defined.
2003-11-24minor cast fixesBrian Paul
2003-11-24set the VB->FogCoordPtr with the other legacy pointersBrian Paul
2003-11-24remove dead filesKeith Whitwell
2003-11-24Merge vtx-0-2-branchKeith Whitwell
2003-11-17fix texgen bug 597589Brian Paul
2003-11-10Redo array element checking for vertex array buffers.Brian Paul
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.
2003-10-23s/GLuint */GLvoid */Brian Paul
2003-10-22Initial work for bounds checking of vertex arrays and vertex buffer objects.Brian Paul
Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
2003-10-21Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett
points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
2003-10-11fix some sphere texgen bugs (reported by Daniel Borca)Brian Paul
2003-10-07index wasn't being calculated correctly (result was being discarded)Keith Whitwell
in light_ci()
2003-09-30Updates required for building the SciTech SNAP version of Mesa. This includes:Kendall Bennett
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.
2003-09-19Assorted casts to silence g++ warnings.Brian Paul
2003-09-19Make binary - even though this is a text file, common practice is to store ↵Karl Schultz
MS studio files as binary
2003-09-18Move away from using the ctx->_TriangleCaps bitfield.Brian Paul
New macros in context.h for testing state: NEED_SECONDARY_COLOR and NEED_TWO_SIDED_LIGHTING.
2003-09-17Implement GL_ELEMENT_ARRAY_BUFFER_ARB for buffer objects.Brian Paul
2003-09-17GL_ARB_vertex_buffer_object working now, at least for non-indexedBrian Paul
vertex arrays.
2003-09-17new castsBrian Paul
2003-09-17More work on ARB_vertex_buffer_object.Brian Paul
Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
2003-08-30Generate browse info for Debug version.Karl Schultz
2003-08-20Use correct conversions when translating array colors.Keith Whitwell
2003-08-17Re-org of register files for vertex/fragment programs. Will be easier toBrian Paul
hook in global state references, etc. for ARB programs.
2003-08-06Newer version of this fileKeith Whitwell
2003-08-05Store material attributes in an Attrib[] style array. This is aKeith Whitwell
first step to reviving/rescuing the 'vtx' rework from the old mesa tree.
2003-08-01Fix typo (& instead of &&) to fix olympic.c bugKeith Whitwell
2003-07-26VC 6 Project FileKarl Schultz
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-07-02 Committing in .Jouk Jansen
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 ----------------------------------------------------------------------
2003-06-17 Committing in .Jouk Jansen
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 ----------------------------------------------------------------------
2003-06-11added null pointer check in tnl_copy_to_current()Brian Paul
2003-06-11clean up _tnl_copy_to_current()Brian Paul
2003-06-10add missing vertex attribs in _tnl_copy_to_current()Brian Paul
2003-06-10fixed secondary color typoBrian Paul
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-05-30Added support for NV_light_max_exponent.Ian Romanick
2003-05-28s/_T_VBXFORM_H/_T_IMM_EXEC_H/Brian Paul
2003-05-28silence some warnings (Evgeny Kotsuba)Brian Paul
2003-05-01more docs (Klaus Niederkruger)Brian Paul
2003-05-01Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places.Brian Paul
Misc vertex array / vertex program changes.
2003-04-28new comments (Klaus Niederkruger)Brian Paul
2003-04-10remove a constBrian Paul
2003-04-10drawarrayrange fixKeith Whitwell
2003-04-08Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul
Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
2003-04-07initialize attribute vectors to 4 componentsBrian Paul
2003-04-07fix color array mixupBrian Paul
2003-04-07Don't unset FLUSH_STORED_VERTICES in _tnl_execute_cassette as this mayKeith Whitwell
break driver callbacks.
2003-04-03more memory-related fixesBrian Paul