summaryrefslogtreecommitdiff
path: root/src/mesa/math/m_matrix.c
AgeCommit message (Collapse)Author
2010-09-30math: remove duplicated includesNicolas Kaiser
Remove duplicated includes. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-13mesa: Remove no-op wrappers around trig functions.Eric Anholt
2010-03-12Grammar and spelling fixesJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-19Drop macro wrappers for the aligned memory functionsKristian Høgsberg
2010-02-19mesa: replace old MEMCPY macro with memcpyBrian Paul
2009-04-03mesa: only clear matrix MAT_DIRTY_INVERSE flag when we actually compute the ↵Brian Paul
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.
2009-02-12mesa: move _mesa_transform_vector() from m_xform.c to m_matrix.cBrian Paul
m_xform.c is omitted from gallium builds but _mesa_transform_vector() is still needed.
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...
2005-09-19additional wrapper updates, bug 4468Brian Paul
2005-09-16use mesa import wrappers, bug 4468Brian Paul
2005-06-30Add a set of predicate functions for testing matrices instead of directlyBrian Paul
testing the flags field. Move definition of all the MAT_FLAGs into the m_matrix.c file since they're now private.
2005-03-11add MAT_DIRTY_FLAGS in _math_matrix_mul_floats(), (bug 2696)Brian Paul
2004-09-09fix a bug in analyse_from_scratch() reported by Wes BethelBrian Paul
2004-02-05bring in Keith's _math_matrix_ortho() compiler work-aroundBrian Paul
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
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
2003-01-08fix typo in rotation code (bug 659677)Brian Paul
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.
2002-09-12optimizations to _math_matrix_rotate() (Rudolf Opalla)Brian Paul
2002-06-29Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
2002-03-29Use invert_matrix_general() instead of invert_matrix_perspective() becauseBrian Paul
the later fails for some projection matrices (ala Vis5D with Chromium).
2001-12-18Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul
Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
2001-09-18more compiler warning fixesKarl Schultz
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-02-05replaced frustrum with frustumBrian Paul
2001-01-05various compilation/warning fixesKeith Whitwell
2000-11-24Support for swappable t&l modules, including an example one in the FXKeith Whitwell
driver (enable with FX_ALLOW_VTXFMT=t).
2000-11-20removed #include <tgmath.h>Brian Paul
2000-11-18* Auto* build fixesJon Taylor
* Added missing includes to math/*
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.