aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_render.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul2003-04-081-3/+3
| | | | | | Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-16/+3
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* 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.
* Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul2002-06-291-2/+2
| | | | Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-2/+2
| | | | | | | | | Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
* bring in changes from dri tcl branchKeith Whitwell2002-04-091-1/+8
|
* More suport for t&l driversKeith Whitwell2002-02-131-3/+3
| | | | | Fix GLuint compare bugs Fix RESET_STIPPLE calls
* Clean-up/renaming of the per-vertex attribute bits, specifically, theBrian Paul2002-01-221-10/+10
| | | | | | VERT_BIT_* flags are new and used in many places (esp in T&L code). Updated some comments for doxygen. Various code clean-ups.
* remove conditional in RESET_STIPPLE to fix conformance failureBrian Paul2001-12-171-4/+4
|
* vertex program check-inBrian Paul2001-12-141-11/+12
|
* guard ResetStipple callsKeith Whitwell2001-12-031-3/+4
|
* possible fix for cva ignore start index bugKeith Whitwell2001-11-191-2/+2
|
* Rename some of the tnl->Driver.* functions to tnl->Driver.Render.*, to make itKeith Whitwell2001-07-121-44/+58
| | | | | | | | | | | | | | clear that these are owned by t_vb_render.c. Make swrast_setup opaque - it now hooks itself directly into tnl->Driver.Render.*. Add a _swsetup_Wakeup() call that does this. Update X11 (tested), osmesa and FX drivers for this change. FX compiles but is probably broken as the changes there are large. It was the only remaining driver that used the internal _swsetup_ functions for interp and copy_pv. This usage has been replaced with code from the DRI tdfx driver.
* Added fi_type union typedef to glheader.h.Brian Paul2001-06-151-3/+3
| | | | | Replace various float/int casts with the fi_type union cast. Fixes -fstrict-aliasing problems.
* Clean up _tnl_Begin/begin/hard_begin.Keith Whitwell2001-05-111-2/+3
| | | | Fix some problems with draw_arrays, draw_elements.
* Support for floating point color representation in tnl module.Keith Whitwell2001-04-281-22/+1
|
* first pass at eval fixesKeith Whitwell2001-04-261-1/+2
|
* Removed DD_Z_NEVER.Brian Paul2001-03-291-3/+3
| | | | | | Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-51/+57
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-21/+21
|
* Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR whenKeith Whitwell2001-02-161-17/+3
| | | | | | | | | | | | | texturing is not enabled, and without requiring the two colors be added externally. As a part of this, collapsed the decomposition of quads into triangles inside swrast to be hardwired into _swrast_Quad; removed s_quads.[ch]. Removed checks on texture state from t_vb_light.c, which was previously required by swrast. Moved the t_dd_ templates to a new directory.
* Fixed conform problems with recent material tracking change.Keith Whitwell2001-02-161-19/+28
| | | | | | Remove redundant 'update_materials' stage. Fix conform segfault with seperate specular colors in mustpass.c. These tests still fail, however.
* Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell2001-01-291-397/+70
| | | | | | | | | | | | functions from core mesa -- if drivers need these fallbacks they must now call them themselves. Introduced hooks for clip-vertex-interpolation and the rendering of clipped lines and polygons. Allows drivers to interpolate their hardware-format vertices directly. Used in dri drivers to replace fastpath code. Slight optimizations to pipeline build/run routines.
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-4/+3
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* Fix several conformance problems. Hack solution to line stipple problem.Keith Whitwell2001-01-161-5/+3
|
* Fixed 'IRound' to 'IROUND' in mmath.hKeith Whitwell2001-01-081-1/+3
| | | | | | Fixed fallback path for drawarrays/_tnl_hard_begin. Removed disabled debug code.
* Add call to Driver.RenderPrimitive()Keith Whitwell2001-01-081-1/+2
|
* Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out driversKeith Whitwell2001-01-081-1/+2
| | | | | | | | | | that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86.
* Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell2001-01-051-187/+229
| | | | | | | | | | | | | | 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.
* More color macro clean-ups.Brian Paul2001-01-031-4/+4
| | | | FLOAT_TO_CHAN() macro removed.
* Add render stage for unclipped vb's to fx driver.Keith Whitwell2000-12-281-2/+4
| | | | | | Bump MAX_TEXTURE_UNITS to 8 Fix mem. leak in destroy_lists Fix crash in q3 (cva generally)
* fix sproingies bugKeith Whitwell2000-12-271-1/+4
|
* Fixes for compiling assembly (disable unused 'masked' versions)Keith Whitwell2000-12-271-1/+2
| | | | | | Fixes for compiling without debug. Fix line clipping Fix unfilled polygon clipping (should be correct now).
* Major rework of tnl moduleKeith Whitwell2000-12-261-0/+698
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.