summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/macros.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-105/+172
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof)Brian Paul2003-03-041-2/+2
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-86/+149
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* Add casts to quiet compiler warnings.Karl Schultz2002-10-181-1/+22
|
* Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul2002-07-091-10/+1
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* Moved big/little endian code to glheader.h.Brian Paul2002-06-121-15/+3
| | | | Define either MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN.
* more big-endian tweaksBrian Paul2002-06-051-4/+5
|
* bring over Michel Daenzer's DRI changesBrian Paul2002-06-031-1/+44
|
* More suport for t&l driversKeith Whitwell2002-02-131-1/+8
| | | | | Fix GLuint compare bugs Fix RESET_STIPPLE calls
* Committing in .Jouk Jansen2001-06-111-1/+2
| | | | | | | | | | Modified Files: Mesa/src/macros.h Added #define COPY_4UBV() for non i386 machines ----------------------------------------------------------------------
* only copy GLubyte[4] as a GLuint on x86Brian Paul2001-06-081-16/+8
|
* use unoptimized COPY_4UBV code on SPARC to avoid memory alignment problems ↵Brian Paul2001-06-081-2/+11
| | | | (bug 430689)
* Fix striding of color material inputs. (Fixes glean colorLitPerf)Keith Whitwell2001-04-191-2/+3
|
* - Port 3.4 texture utils, texture format work to 3.5 (including newGareth Hughes2001-03-181-1/+28
| | | | | FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic.
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-9/+9
|
* Lots of GLchan datatype changes.Brian Paul2001-01-241-1/+2
| | | | | | | | | 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
* Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out driversKeith Whitwell2001-01-081-2/+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.
* Major rework of tnl moduleKeith Whitwell2000-12-261-1/+19
| | | | | | | 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.
* Support for swappable t&l modules, including an example one in the FXKeith Whitwell2000-11-241-2/+2
| | | | driver (enable with FX_ALLOW_VTXFMT=t).
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-161-1/+3
| | | | | | | | | | | | | | | 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.
* - Changes for new software rasterizer modulesKeith Whitwell2000-11-051-1/+7
| | | | | | | | | - 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 '_'.
* more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)Brian Paul2000-10-291-25/+1
|
* New colormac.h file for color-related macros.Brian Paul2000-10-281-83/+17
| | | | Lot's of clean-up in macros.h and mmath.h
* Basic work to support deep color channels:Brian Paul2000-10-281-1/+7
| | | | | Replace GLubyte with GLchan Replace 255 with CHAN_MAX
* new comments, misc clean-upBrian Paul2000-09-171-10/+13
|
* added SET/CLEAR/TEST_BITS macros, misc clean-upBrian Paul1999-11-221-38/+38
|
* first big check-in of new Mesa 3.3 codeBrian Paul1999-11-111-87/+16
|
* header includes clean-up (Daryll)Brian Paul1999-11-081-5/+5
|
* removed GL_ prefix from memory macrosBrian Paul1999-10-131-12/+12
|
* Repaired definition of GL_CALLOC_STRUCJouk Jansen1999-10-111-2/+2
|
* added memory macrosBrian Paul1999-10-101-1/+23
|
* Fixed includes & added a few hooks for the DRI.kw-mesa-1Keith Whitwell1999-10-081-3/+6
|
* Initial revisionjtg1999-08-191-0/+546