summaryrefslogtreecommitdiff
path: root/src/mesa/math
AgeCommit message (Collapse)Author
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-13Fix crash in book/stencil.Keith Whitwell
Allow drivers to perform the perspective divide themselves. Assembly to do cliptesting without perspective divide for size-4 vectors.
2001-01-08Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out driversKeith Whitwell
that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86.
2001-01-05various compilation/warning fixesKeith Whitwell
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-28Add render stage for unclipped vb's to fx driver.Keith Whitwell
Bump MAX_TEXTURE_UNITS to 8 Fix mem. leak in destroy_lists Fix crash in q3 (cva generally)
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-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-19* More work on the auto* build systemJon Taylor
* Added missing #includes all over the place * Added GGI-style debugging harness to GGIMesa
2000-11-18* Auto* build fixesJon Taylor
* Added missing includes to math/*
2000-11-17Minor header file changes to silence warnings.Brian Paul
Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions.
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.