History log of /external/mesa3d/src/mesa/math/m_matrix.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b51be8786f681210ed865c46065770ba91bc7bcb 30-Jul-2012 Brian Paul <brianp@vmware.com> mesa: fix _math_matrix_copy(), again

The matrix is 16 GLfloats in size. Since from->inv is just a pointer (not
an array), sizeof(*from->inv) wasn't right.
/external/mesa3d/src/mesa/math/m_matrix.c
502c10839e53e7f7e709c10927405d1b84961b80 30-Jul-2012 Vinson Lee <vlee@freedesktop.org> mesa: Fix wrong sizeof argument in _math_matrix_copy.

Fixes Coverity wrong sizeof argument defect.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/math/m_matrix.c
66adc807c496c0329bf298a59991565fa4bfb0e3 25-Jul-2012 Brian Paul <brianp@vmware.com> mesa: remove obsolete matrix comment
/external/mesa3d/src/mesa/math/m_matrix.c
1e37d54d9d323482b39bf888c09c9857a379bb1c 25-Jul-2012 Brian Paul <brianp@vmware.com> mesa: fix comment typo: s/pointer/point/
/external/mesa3d/src/mesa/math/m_matrix.c
66d9ac5ac7896538d38f57950888a0184c933925 25-Jul-2012 Brian Paul <brianp@vmware.com> mesa: remove _math_matrix_alloc_inv()

Always allocate space for the inverse matrix in _math_matrix_ctr()
since we were always calling _math_matrix_alloc_inv() anyway.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/math/m_matrix.c
50db8129152f3d5ea8db13d55f82673d53bf1b8f 24-Jul-2012 Brian Paul <brianp@vmware.com> mesa: loosen small matrix determinant check

When computing a matrix inverse, if the determinant is too small we could hit
a divide by zero. There's a check to prevent this (we basically give up on
computing the inverse and return the identity matrix.) This patch loosens
this test to fix a lighting bug reported by Lars Henning Wendt.

v2: use abs(det) to handle negative values

NOTE: This is a candidate for the 8.0 branch.

Tested-by: Lars Henning Wendt <lars.henning.wendt@gris.tu-darmstadt.de>
/external/mesa3d/src/mesa/math/m_matrix.c
bad10b961aeae8d695ecec600d47de5f8505b396 30-Sep-2010 Nicolas Kaiser <nikai@nikai.net> math: remove duplicated includes

Remove duplicated includes.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/math/m_matrix.c
165694ad65374ff4330bd80acb398fe0428ba2e6 05-May-2010 Eric Anholt <eric@anholt.net> mesa: Remove no-op wrappers around trig functions.
/external/mesa3d/src/mesa/math/m_matrix.c
fab1f07d6ad01463897ae792f4b33738afb07369 13-Jun-2008 Jeff Smith <whydoubt@yahoo.com> Grammar and spelling fixes

Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/math/m_matrix.c
99ae9e8d7d57ae37629754edd5b1e3716611827f 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Drop macro wrappers for the aligned memory functions
/external/mesa3d/src/mesa/math/m_matrix.c
e197de56cdb86835f1437688a9161cd909792d80 19-Feb-2010 Brian Paul <brianp@vmware.com> mesa: replace old MEMCPY macro with memcpy
/external/mesa3d/src/mesa/math/m_matrix.c
ce461ffc5aa2ea6941d6722e8ed473cda8c17833 03-Apr-2009 Brian Paul <brianp@vmware.com> mesa: only clear matrix MAT_DIRTY_INVERSE flag when we actually compute the 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.
/external/mesa3d/src/mesa/math/m_matrix.c
987aedd7dc75c095a96cb20b21bbad2f71857776 12-Feb-2009 Brian Paul <brianp@vmware.com> mesa: move _mesa_transform_vector() from m_xform.c to m_matrix.c

m_xform.c is omitted from gallium builds but _mesa_transform_vector() is
still needed.
/external/mesa3d/src/mesa/math/m_matrix.c
bbd287103dad776d8a45c87c4e51fbc26d9b80d5 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: prefix a bunch of #include lines with "main/".

This is another step toward removing a whole bunch of -I flags from
the cc commands. Still need to address driver code...
/external/mesa3d/src/mesa/math/m_matrix.c
b3aefd1cfb6aacd1695c52911dd39da50d893ece 19-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> additional wrapper updates, bug 4468
/external/mesa3d/src/mesa/math/m_matrix.c
aa2069586d434dd0487b0daa2b583efe801a0d51 16-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> use mesa import wrappers, bug 4468
/external/mesa3d/src/mesa/math/m_matrix.c
049e320f46f3a3daaa36ef67cc680dc504c124d5 30-Jun-2005 Brian Paul <brian.paul@tungstengraphics.com> Add a set of predicate functions for testing matrices instead of directly
testing the flags field.
Move definition of all the MAT_FLAGs into the m_matrix.c file since they're
now private.
/external/mesa3d/src/mesa/math/m_matrix.c
522ea4271804b75d90f9bc72b81bfd025bb137d0 11-Mar-2005 Brian Paul <brian.paul@tungstengraphics.com> add MAT_DIRTY_FLAGS in _math_matrix_mul_floats(), (bug 2696)
/external/mesa3d/src/mesa/math/m_matrix.c
2dab997cb9ddbe47ff414b74679fb99346bb9a06 09-Sep-2004 Brian Paul <brian.paul@tungstengraphics.com> fix a bug in analyse_from_scratch() reported by Wes Bethel
/external/mesa3d/src/mesa/math/m_matrix.c
e2e9dc221d4f091b26713169dabfd43a3d8a635c 05-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> bring in Keith's _math_matrix_ortho() compiler work-around
/external/mesa3d/src/mesa/math/m_matrix.c
6dc85575000127630489b407c50a4b3ea87c9acb 17-Jul-2003 Keith Whitwell <keith@tungstengraphics.com> Merge Jose's documentation and core Mesa changes from embedded branch
/external/mesa3d/src/mesa/math/m_matrix.c
9ac51f57efe07ed43a1e4224a7f5daddec401b36 05-Jun-2003 Ian Romanick <idr@us.ibm.com> Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
/external/mesa3d/src/mesa/math/m_matrix.c
27558a160a9fe91745728d7626995cd88f8fe339 01-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]
Moved type conversion and interpolation macros into macros.h
Updated all the files that used to include mmath.h
/external/mesa3d/src/mesa/math/m_matrix.c
1e091f48f0434e8fb9713fbebc9d74ad68a75e34 08-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> fix typo in rotation code (bug 659677)
/external/mesa3d/src/mesa/math/m_matrix.c
3c63452e64df7e10aa073c6c3b9492b1d7dabbb8 25-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> Header file clean-up:
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.
/external/mesa3d/src/mesa/math/m_matrix.c
4991d0f9f39b3fca8458af77ad0a060e76eb5594 12-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> optimizations to _math_matrix_rotate() (Rudolf Opalla)
/external/mesa3d/src/mesa/math/m_matrix.c
4e9676fb13f60ecdbc247b120031f18cd3febcb0 29-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
/external/mesa3d/src/mesa/math/m_matrix.c
a68b8dfd76fa25b8e4ecaf1c6961a958e0fdfd3b 29-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> Use invert_matrix_general() instead of invert_matrix_perspective() because
the later fails for some projection matrices (ala Vis5D with Chromium).
/external/mesa3d/src/mesa/math/m_matrix.c
30f51ae067379c2b3573c06b707d25a9704df7be 18-Dec-2001 Brian Paul <brian.paul@tungstengraphics.com> Replace old matrix stacks with new code based on struct matrix_stack.
Moved vertex program hash table into shared context state.
Implemented reference counting for vertex programs.
Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
/external/mesa3d/src/mesa/math/m_matrix.c
7b9fe820a3fba3849864682fbb1cb512362934ab 19-Sep-2001 Karl Schultz <kschultz@freedesktop.org> more compiler warning fixes
/external/mesa3d/src/mesa/math/m_matrix.c
22144ab7552f0799bcfca506bf4ffa7f70a06649 12-Mar-2001 Gareth Hughes <gareth@valinux.com> Consistent copyright info (version number, date) across all files.
/external/mesa3d/src/mesa/math/m_matrix.c
b51b0a847d7e7daaea69f77ab569086ef81c24a2 07-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots of potential problems
/external/mesa3d/src/mesa/math/m_matrix.c
d8bc5a9eba720ffb6a503d32715f895dbdad7197 05-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> replaced frustrum with frustum
/external/mesa3d/src/mesa/math/m_matrix.c
f4b02d1a2675d4a0699b8995a422fbd413c32301 05-Jan-2001 Keith Whitwell <keith@tungstengraphics.com> various compilation/warning fixes
/external/mesa3d/src/mesa/math/m_matrix.c
ad2ac216fa0cbebc36530bf9e5256e902710b892 24-Nov-2000 Keith Whitwell <keith@tungstengraphics.com> Support for swappable t&l modules, including an example one in the FX
driver (enable with FX_ALLOW_VTXFMT=t).
/external/mesa3d/src/mesa/math/m_matrix.c
ce2733b7cc35d79082164afc1bb55c5f6861612e 20-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> removed #include <tgmath.h>
/external/mesa3d/src/mesa/math/m_matrix.c
912d3a04c191b835be07b8f104eed240d6cf0ada 18-Nov-2000 Jon Taylor <taylorj@ggi-project.org> * Auto* build fixes
* Added missing includes to math/*
/external/mesa3d/src/mesa/math/m_matrix.c
23caf20169ac38436ee9c13914f1d6aa7cf6bb5e 16-Nov-2000 Keith Whitwell <keith@tungstengraphics.com> Move the transform and lighting code to two new directories
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.
/external/mesa3d/src/mesa/math/m_matrix.c