summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_imm_api.c
Commit message (Collapse)AuthorAgeFilesLines
* remove dead filesKeith Whitwell2003-11-241-1387/+0
|
* 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.
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-56/+56
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* Updates required for building the SciTech SNAP version of Mesa. This includes:Kendall Bennett2003-09-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Store material attributes in an Attrib[] style array. This is aKeith Whitwell2003-08-051-47/+15
| | | | | first step to reviving/rescuing the 'vtx' rework from the old mesa tree.
* fixed secondary color typoBrian Paul2003-06-101-1/+1
|
* Added support for NV_light_max_exponent.Ian Romanick2003-05-301-2/+2
|
* silence some warnings (Evgeny Kotsuba)Brian Paul2003-05-281-3/+2
|
* reduce memory needed for vertex attributes (allocate on demand)Brian Paul2003-03-311-114/+147
|
* First batch of code for GL_NV_fragment_program.Brian Paul2003-01-141-4/+4
| | | | | Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
* Don't crash if End received without a Begin...Keith Whitwell2002-12-051-4/+7
|
* added missing ctx parameter to _tnl_flush_immediate() callsBrian Paul2002-11-251-3/+3
|
* Flush IM if very small number of verts left -- prevent copy errorsKeith Whitwell2002-11-251-1/+15
|
* updated email addressesBrian Paul2002-10-291-2/+2
|
* Header file clean-up:Brian Paul2002-10-241-2/+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.
* use new vertex bitfield tokensBrian Paul2002-10-091-2/+2
|
* record GL_INVALID_VALUE in glVertexAttrib*NV() if index > 15Brian Paul2002-10-031-1/+10
|
* improved error stringBrian Paul2002-09-031-2/+2
|
* added some bracesBrian Paul2002-06-161-5/+5
|
* Added ctx parameter to _mesa_debug()Brian Paul2002-06-151-23/+21
| | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
* more removal of fprintf() callsBrian Paul2002-06-131-12/+11
|
* pass context pointer to _tnl_free_immediate(), removed backref pointerBrian Paul2002-04-191-22/+36
|
* bring in changes from dri tcl branchKeith Whitwell2002-04-091-60/+89
|
* More suport for t&l driversKeith Whitwell2002-02-131-1/+18
| | | | | Fix GLuint compare bugs Fix RESET_STIPPLE calls
* Clean-up/renaming of the per-vertex attribute bits, specifically, theBrian Paul2002-01-221-39/+39
| | | | | | VERT_BIT_* flags are new and used in many places (esp in T&L code). Updated some comments for doxygen. Various code clean-ups.
* Vertex program checkpoint commit: converted all vertex attributes (color,Brian Paul2002-01-051-177/+165
| | | | | | normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
* Committing in .Jouk Jansen2001-12-171-1/+3
| | | | | | | | | Update OpenVMS makefile for vertex-routines #ifndef __VMS added for one print statement containing __FUNCTION__ Modified Files: Mesa/src/descrip.mms Mesa/src/tnl/t_imm_api.c ----------------------------------------------------------------------
* disable debug printf's, fix a crashBrian Paul2001-12-151-4/+4
|
* vertex program check-inBrian Paul2001-12-141-21/+60
|
* dispatch changes to minimize hassle with XFree86 libGLBrian Paul2001-12-041-11/+11
|
* API dispath updatesBrian Paul2001-11-181-9/+9
|
* silence more warnings (Karl Schultz)Brian Paul2001-09-141-3/+3
|
* Added fi_type union typedef to glheader.h.Brian Paul2001-06-151-52/+54
| | | | | Replace various float/int casts with the fi_type union cast. Fixes -fstrict-aliasing problems.
* Adaptor code that lets tnl convert compiled (display list) cassettes backKeith Whitwell2001-06-041-2/+4
| | | | | | | to glVertex() type calls. Allows driver-supplied tnl modules to avoid fallback on glCallList inside begin/end pairs. Still a little buggy...
* Clean up _tnl_Begin/begin/hard_begin.Keith Whitwell2001-05-111-111/+98
| | | | Fix some problems with draw_arrays, draw_elements.
* Clean up translation of array elements, copying of elts in pure-eltKeith Whitwell2001-05-111-7/+9
| | | | cassettes. Fixes problem with isosurf/compiled-array-elt/strips.
* Lots more eval fixesKeith Whitwell2001-04-301-18/+23
|
* Support for floating point color representation in tnl module.Keith Whitwell2001-04-281-98/+29
|
* Perform fixup on material valuesKeith Whitwell2001-04-091-26/+8
|
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-5/+1
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-51/+52
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-6/+6
|
* Fix propogation of material values in VB's that don't reach the lightingKeith Whitwell2001-02-151-7/+14
| | | | | | | | | stage. (Materials now treated more like colors, etc.). Continue whipping the dd templates into shape. Remove old NormalLength code; may come back as a driver helper, but not useful for, eg. hardware t&l drivers.
* Lots of GLchan datatype changes.Brian Paul2001-01-241-105/+27
| | | | | | | | | Added GLvector4us datatype in math/m_vector.[ch] Added _math_trans_4us() in math/m_translate.[ch] Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS. Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions. Changed args to Driver.ClearColor(), updated drivers. Reordered files in Makefile.X11
* Fixed 'IRound' to 'IROUND' in mmath.hKeith Whitwell2001-01-081-12/+50
| | | | | | Fixed fallback path for drawarrays/_tnl_hard_begin. Removed disabled debug code.
* Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell2001-01-051-1/+1
| | | | | | | | | | | | | | 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.
* Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)Brian Paul2001-01-021-20/+20
| | | | | Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
* Major rework of tnl moduleKeith Whitwell2000-12-261-0/+1398
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.