summaryrefslogtreecommitdiff
path: root/src/mesa/main/macros.h
AgeCommit message (Collapse)Author
2001-01-24Lots of GLchan datatype changes.Brian Paul
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
2001-01-08Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out driversKeith Whitwell
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.
2000-12-26Major rework of tnl moduleKeith Whitwell
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.
2000-11-24Support for swappable t&l modules, including an example one in the FXKeith Whitwell
driver (enable with FX_ALLOW_VTXFMT=t).
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-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-29more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)Brian Paul
2000-10-28New colormac.h file for color-related macros.Brian Paul
Lot's of clean-up in macros.h and mmath.h
2000-10-28Basic work to support deep color channels:Brian Paul
Replace GLubyte with GLchan Replace 255 with CHAN_MAX
2000-09-17new comments, misc clean-upBrian Paul
1999-11-22added SET/CLEAR/TEST_BITS macros, misc clean-upBrian Paul
1999-11-11first big check-in of new Mesa 3.3 codeBrian Paul
1999-11-08header includes clean-up (Daryll)Brian Paul
1999-10-13removed GL_ prefix from memory macrosBrian Paul
1999-10-11Repaired definition of GL_CALLOC_STRUCJouk Jansen
1999-10-10added memory macrosBrian Paul
1999-10-08Fixed includes & added a few hooks for the DRI.Keith Whitwell
1999-08-19Initial revisionjtg