summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/clip.c
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell2000-11-131-14/+1
| | | | | | | | | | | | into a new directory. Specifically the handling of changes to lighting lighting space (light in model vs. light in eye) have been revamped. Moved several derived values used only by swrast into that directory. Removed direct calls to swrast_flush() from vbrender.c -- pushed into ctx->Driver.RenderFinish. Optimized flat-shading case in swrast_setup.
* - Changes for new software rasterizer modulesKeith Whitwell2000-11-051-21/+21
| | | | | | | | | - Remove support for choosing software fallbacks from core code - Remove partial fallback code from vbrender.c -- drivers are now expected to be able to find a triangle/quad function for every state, even if they have to use _swsetup_Triangle or _swsetup_Quad. - Marked derived variables in the GLcontext struct with a leading underscore '_'.
* Replace the flags Mesa was using for ctx->NewState with a new setKeith Whitwell2000-10-301-3/+3
| | | | | | | | | | | | | | based on the GL attribute groups. Introduced constants describing the circumstances under which some key derived values can change: _SWRAST_NEW_RASTERMASK -- ctx->RasterMask _SWRAST_NEW_TRIANGLE -- The software rasterizer's triangle function _DD_NEW_FEEDBACK -- the 'DD_FEEDBACK' bit in ctx->TriangleCaps These are helpful in deciding whether you need to recalculate state if your recalculation involves reference to a derived value.
* New colormac.h file for color-related macros.Brian Paul2000-10-281-1/+2
| | | | Lot's of clean-up in macros.h and mmath.h
* Implement EXT_fog_coord and EXT_secondary_color.Keith Whitwell2000-10-271-2/+2
| | | | EXT_secondary_color is disabled until we get some dispatch offsets from SGI.
* First batch of OpenGL SI related changes:Brian Paul2000-09-261-2/+2
| | | | | | | Renamed struct gl_context to struct __GLcontextRec. Include glcore.h, setup GL imports/exports. Replaced gl_ prefix with _mesa_ prefix in context.[ch] functions. GLcontext's Visual field is no longer a pointer.
* New clipping to avoid division by zero bug.Keith Whitwell2000-04-171-2/+4
|
* applied Keith's fix for the Loki ice bugBrian Paul2000-04-131-7/+4
|
* Fog coordinate stage which drivers may use to replace standard foggingKeith Whitwell2000-02-251-13/+70
| | | | | | mechanism. LogicOp state change callback
* first big check-in of new Mesa 3.3 codeBrian Paul1999-11-111-13/+15
|
* clean-up of header includes (Daryll)Brian Paul1999-11-081-4/+1
|
* Fixed includes & added a few hooks for the DRI.kw-mesa-1Keith Whitwell1999-10-081-2/+5
|
* Large patch:Keith Whitwell1999-09-181-90/+86
| | | | | | | | | | - FX bug fixes. - Polygon mode and edgeflag work properly. - Clipping works with edgeflag. - Driver.ReducedPrimitiveChange() callback so drivers that implement lines & points as triangles can turn culling off before rendering groups of these primitives. - Cleaned up feedback & select primitives.
* Initial revisionjtg1999-08-191-0/+460