summaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_translate.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: remove outdated version lines in commentsRico Schüller2013-06-051-1/+0
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke2013-04-231-3/+4
| | | | | | | | | | | | | | The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <[email protected]>
* mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <[email protected]>
* mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | | Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <[email protected]>
* mesa: s/CONST/const/ in math/ filesBrian Paul2012-09-051-9/+9
| | | | | | The CONST macro hack will go away soon. Reviewed-by: Matt Turner <[email protected]>
* mesa: move last bits of GLchan stuff into swrastBrian Paul2011-09-201-1/+1
| | | | | This removes the last remnants of the GLchan datatype and associated macros out of core Mesa and into swrast.
* mesa: Reduce header file inclusion in m_translate.h.Vinson Lee2010-08-031-1/+2
| | | | m_translate.h does not use any additional symbols added by config.h.
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-041-2/+2
| | | | of -I flags.
* Rename some functions/macros to better reflect their behaviour:Brian Paul2006-06-131-2/+2
| | | | | 3F -> 3FN because integer types are normalized 4FC -> 3FN because we can normalize non-color attributes
* just some comments/docsBrian Paul2006-04-051-3/+19
|
* Use correct conversions when translating array colors.Keith Whitwell2003-08-201-0/+8
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-5/+5
|
* Added GLvector4chan type, removed lots of CHAN_TYPE ifdefs.Keith Whitwell2001-02-201-1/+10
|
* Lots of GLchan datatype changes.Brian Paul2001-01-241-3/+11
| | | | | | | | | 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
* Major rework of tnl moduleKeith Whitwell2000-12-261-60/+46
| | | | | | | 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.
* Minor header file changes to silence warnings.Brian Paul2000-11-171-2/+6
| | | | | Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions.
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-161-0/+92
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.