summaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_matrix.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: only clear matrix MAT_DIRTY_INVERSE flag when we actually compute the ↵Brian Paul2009-04-031-3/+2
| | | | | | | | inverse If _math_matrix_analyse() got called before we allocated the inverse matrix array we could lose the flag indicating that we needed to compute the inverse. This could happen with certain vertex shader cases.
* mesa: move _mesa_transform_vector() from m_xform.c to m_matrix.cBrian Paul2009-02-121-0/+21
| | | | | m_xform.c is omitted from gallium builds but _mesa_transform_vector() is still needed.
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-4/+4
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* additional wrapper updates, bug 4468Brian Paul2005-09-191-7/+7
|
* use mesa import wrappers, bug 4468Brian Paul2005-09-161-2/+2
|
* Add a set of predicate functions for testing matrices instead of directlyBrian Paul2005-06-301-0/+134
| | | | | | testing the flags field. Move definition of all the MAT_FLAGs into the m_matrix.c file since they're now private.
* add MAT_DIRTY_FLAGS in _math_matrix_mul_floats(), (bug 2696)Brian Paul2005-03-111-3/+4
|
* fix a bug in analyse_from_scratch() reported by Wes BethelBrian Paul2004-09-091-12/+13
|
* bring in Keith's _math_matrix_ortho() compiler work-aroundBrian Paul2004-02-051-15/+21
|
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-130/+431
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-3/+2
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* fix typo in rotation code (bug 659677)Brian Paul2003-01-081-4/+4
|
* Header file clean-up:Brian Paul2002-10-241-4/+2
| | | | | | | | 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.
* optimizations to _math_matrix_rotate() (Rudolf Opalla)Brian Paul2002-09-121-97/+155
|
* Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul2002-06-291-6/+10
| | | | Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
* Use invert_matrix_general() instead of invert_matrix_perspective() becauseBrian Paul2002-03-291-3/+10
| | | | the later fails for some projection matrices (ala Vis5D with Chromium).
* Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul2001-12-181-13/+13
| | | | | | Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
* more compiler warning fixesKarl Schultz2001-09-181-40/+40
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-86/+86
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-6/+6
| | | | of potential problems
* replaced frustrum with frustumBrian Paul2001-02-051-6/+6
|
* various compilation/warning fixesKeith Whitwell2001-01-051-1/+4
|
* Support for swappable t&l modules, including an example one in the FXKeith Whitwell2000-11-241-6/+6
| | | | driver (enable with FX_ALLOW_VTXFMT=t).
* removed #include <tgmath.h>Brian Paul2000-11-201-4/+1
|
* * Auto* build fixesJon Taylor2000-11-181-2/+3
| | | | * Added missing includes to math/*
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-161-0/+1113
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.