summaryrefslogtreecommitdiff
path: root/src/mesa/main/matrix.c
AgeCommit message (Collapse)Author
2000-11-16Move the transform and lighting code to two new directoriesKeith Whitwell
math: Provides basic matrix and vector functionality that might be useful to multiple software t&l implementations, and is used by core mesa to manage the Model, Project, etc matrices. tnl: The real transform & lighting code from core mesa, including everything from glVertex3f through vertex buffer handling, transformation, clipping, lighting and handoff to a driver for rasterization. The interfaces of these can be further tightened up, but the basic splitting up of state and code move is done.
2000-11-13Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell
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.
2000-11-05- Changes for new software rasterizer modulesKeith Whitwell
- 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 '_'.
2000-10-30Replace the flags Mesa was using for ctx->NewState with a new setKeith Whitwell
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.
2000-10-29more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)Brian Paul
2000-09-26First batch of OpenGL SI related changes:Brian Paul
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.
2000-09-17new comments, misc clean-upBrian Paul
2000-07-31test against an epsilon magnitude in gl_rotation_matrix()Brian Paul
2000-06-27added aligned memory allocations (Gareth Hughes)Brian Paul
2000-04-08added GL_SGI_color_matrix extensionBrian Paul
2000-03-03runtime selectable depth buffer depthBrian Paul
2000-02-21fixed off by one error in matrix stack depths (Eero Pajarre)Brian Paul
2000-02-02include buffers.hBrian Paul
2000-01-13commented out unused functionBrian Paul
1999-12-10implemented GL_ARB_tranpose_matrixBrian Paul
1999-11-24added support for separate read/draw buffers per contextBrian Paul
1999-11-12restored the gl_Viewport functionBrian Paul
1999-11-11first big check-in of new Mesa 3.3 codeBrian Paul
1999-11-08clean-up of header includes (Daryll)Brian Paul
1999-10-13removed GL_ prefix from memory macrosBrian Paul
1999-10-10now using GL_MALLOC, GL_FREEBrian Paul
1999-10-08Fixed includes & added a few hooks for the DRI.Keith Whitwell
1999-09-19RasterMask was set incorrectlyKeith Whitwell
1999-09-09More compliant error check.Miklos Fazekas
1999-09-05fixes for the mga driverKeith Whitwell
1999-08-19Initial revisionjtg