summaryrefslogtreecommitdiff
path: root/src/mesa/math/m_translate.c
AgeCommit message (Collapse)Author
2010-07-30mesa: Remove unnecessary headers.Vinson Lee
2010-07-30mesa: Include macros.h in files that use symbols from macros.h.Vinson Lee
Don't rely on inclusion of other files that already include macros.h.
2010-02-19mesa: replace old MEMSET macro with memsetBrian Paul
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2006-06-13Rename some functions/macros to better reflect their behaviour:Brian Paul
3F -> 3FN because integer types are normalized 4FC -> 3FN because we can normalize non-color attributes
2006-06-13Fix a few conversion bugs. For example, GLshort->GLfloat conversionBrian Paul
didn't work for color arrays.
2005-05-05Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz
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.
2003-08-20Use correct conversions when translating array colors.Keith Whitwell
2003-05-28silence some warnings (Evgeny Kotsuba)Brian Paul
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2002-10-24Header file clean-up:Brian Paul
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.
2001-09-18more compiler warning fixesKarl Schultz
2001-05-09add missing translate functionsKeith Whitwell
2001-04-28Support for floating point color representation in tnl module.Keith Whitwell
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-02-20Added GLvector4chan type, removed lots of CHAN_TYPE ifdefs.Keith Whitwell
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-02Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)Brian Paul
Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
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-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.