summaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_translate.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Remove unnecessary headers.Vinson Lee2010-07-301-1/+0
|
* mesa: Include macros.h in files that use symbols from macros.h.Vinson Lee2010-07-301-0/+1
| | | | Don't rely on inclusion of other files that already include macros.h.
* mesa: replace old MEMSET macro with memsetBrian Paul2010-02-191-7/+7
|
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-3/+3
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* Rename some functions/macros to better reflect their behaviour:Brian Paul2006-06-131-76/+76
| | | | | 3F -> 3FN because integer types are normalized 4FC -> 3FN because we can normalize non-color attributes
* Fix a few conversion bugs. For example, GLshort->GLfloat conversionBrian Paul2006-06-131-13/+46
| | | | didn't work for color arrays.
* Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz2005-05-051-1/+1
| | | | | | | | use 64-bit pointers and 32-bit longs. So, operations like casting pointers to unsigned long and back to pointer won't work. glheader.h now includes files to define uintptr_t, which should instead be used for this sort of operation. It is an integer type that is the same size as a pointer.
* Use correct conversions when translating array colors.Keith Whitwell2003-08-201-1/+58
|
* silence some warnings (Evgeny Kotsuba)Brian Paul2003-05-281-4/+4
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-2/+1
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* Header file clean-up:Brian Paul2002-10-241-4/+3
| | | | | | | | 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
* more compiler warning fixesKarl Schultz2001-09-181-4/+4
|
* add missing translate functionsKeith Whitwell2001-05-091-2/+2
|
* Support for floating point color representation in tnl module.Keith Whitwell2001-04-281-5/+14
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-20/+19
|
* Added GLvector4chan type, removed lots of CHAN_TYPE ifdefs.Keith Whitwell2001-02-201-1/+19
|
* Lots of GLchan datatype changes.Brian Paul2001-01-241-14/+61
| | | | | | | | | 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/+4
| | | | | Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
* Major rework of tnl moduleKeith Whitwell2000-12-261-10/+120
| | | | | | | 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.
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-161-0/+478
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.