aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_trans_tmp.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename some functions/macros to better reflect their behaviour:Brian Paul2006-06-131-30/+24
| | | | | 3F -> 3FN because integer types are normalized 4FC -> 3FN because we can normalize non-color attributes
* Use correct conversions when translating array colors.Keith Whitwell2003-08-201-0/+32
|
* silence some warnings (Evgeny Kotsuba)Brian Paul2003-05-281-4/+23
|
* replace GLushort w/ GLubyte in DEST_4US template (fixes 16-bit GLchan problemBrian Paul2002-01-301-5/+5
|
* fixed bug in DEST_4F template functionBrian Paul2001-08-071-2/+2
|
* - Add -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L to linux builds, we'veGareth Hughes2001-03-121-8/+8
| | | | | | | been using it with the DRI for long enough without any issues and we need it to include the katmai functions. - Make katmai assembly work with the debug tests. - A few general cleanups.
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-11/+9
|
* Lots of GLchan datatype changes.Brian Paul2001-01-241-5/+33
| | | | | | | | | 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
* Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)Brian Paul2001-01-021-2/+2
| | | | | Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-161-0/+210
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.