aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_cliptmp.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix line clipping bug 6512.Brian Paul2006-04-061-24/+28
| | | | This fix is to discard the line if both dot products are negative.
* Clean up clipping somewhatKeith Whitwell2005-12-011-36/+46
| | | | | | | | | | - no need to update ClipMask on generated vertices - remove the VB->LastClipped value Line clipping algorithm changed and simplified somewhat. The old one was based on the triangle routine and probably wouldn't have recognized lines that were clipped down to nothing (ie culled, but not by a single plane).
* Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell2004-07-011-3/+3
|
* Merge vtx-0-2-branchKeith Whitwell2003-11-241-5/+5
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-5/+5
| | | | | 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
|
* Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.Brian Paul2002-03-291-18/+18
|
* replaced __inline with INLINEBrian Paul2001-07-131-10/+8
|
* Rename some of the tnl->Driver.* functions to tnl->Driver.Render.*, to make itKeith Whitwell2001-07-121-10/+10
| | | | | | | | | | | | | | 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.
* Use correct PV when clipping.Keith Whitwell2001-05-091-7/+7
|
* Support for floating point color representation in tnl module.Keith Whitwell2001-04-281-29/+29
|
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-13/+16
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-9/+9
|
* Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell2001-01-291-72/+74
| | | | | | | | | | | | 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.
* Fixes for performance bug on compiled array element paths.Keith Whitwell2001-01-171-3/+3
|
* Fix crash in book/stencil.Keith Whitwell2001-01-131-21/+24
| | | | | Allow drivers to perform the perspective divide themselves. Assembly to do cliptesting without perspective divide for size-4 vectors.
* Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell2001-01-051-397/+161
| | | | | | | | | | | | | | 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.
* Add render stage for unclipped vb's to fx driver.Keith Whitwell2000-12-281-2/+2
| | | | | | Bump MAX_TEXTURE_UNITS to 8 Fix mem. leak in destroy_lists Fix crash in q3 (cva generally)
* fix sproingies bugKeith Whitwell2000-12-271-13/+1
|
* Fixes for compiling assembly (disable unused 'masked' versions)Keith Whitwell2000-12-271-47/+83
| | | | | | 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/+477
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.