aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/math
Commit message (Collapse)AuthorAgeFilesLines
* Vertex program checkpoint commit: converted all vertex attributes (color,Brian Paul2002-01-053-54/+54
| | | | | | normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
* comments, clean-ups, added lots of const qualifiersBrian Paul2002-01-051-53/+78
|
* 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-183-49/+49
|
* fixed bug in DEST_4F template functionBrian Paul2001-08-071-2/+2
|
* restore normal length optimization in dlistsKeith Whitwell2001-06-281-8/+4
|
* SPARC assembly optimizations from David Miller.Brian Paul2001-05-232-3/+38
|
* Initial commit of cliptest work. More to come shortly.Gareth Hughes2001-05-214-4/+374
| | | | | | | | - Add debug, benchmark code. - Change linux/x86 FAST_MATH code to GCC/x86, and clear FP exceptions before exiting the fast math block. - Remove divide-by-zero test in x86 cliptest, and set clipped vertices to [0,0,0,1] instead of leaving them uninitialized.
* added missing #undefs at end of fileBrian Paul2001-05-181-1/+5
|
* add missing translate functionsKeith Whitwell2001-05-091-2/+2
|
* Support for floating point color representation in tnl module.Keith Whitwell2001-04-281-5/+14
|
* Remove all traces of CULL_MASK_ACTIVE.Gareth Hughes2001-03-309-635/+352
|
* Consolidation of asm code in 3.5Gareth Hughes2001-03-292-106/+55
|
* - Add -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L to linux builds, we'veGareth Hughes2001-03-127-116/+117
| | | | | | | been using it with the DRI for long enough without any issues and we need it to include the katmai functions. - Make katmai assembly work with the debug tests. - A few general cleanups.
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-1221-298/+346
|
* processed by indent to improve readabilityBrian Paul2001-03-081-200/+161
|
* changed bincoeff var to GLfloat, fixes bug introduced in previous check-inBrian Paul2001-03-081-11/+11
|
* More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.Brian Paul2001-03-082-5/+5
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-072-9/+9
| | | | of potential problems
* more namespace clean-upsBrian Paul2001-03-036-33/+33
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-039-117/+117
|
* Added GLvector4chan type, removed lots of CHAN_TYPE ifdefs.Keith Whitwell2001-02-204-4/+82
|
* added mesa_profile extern declBrian Paul2001-02-051-2/+4
|
* replaced frustrum with frustumBrian Paul2001-02-052-12/+12
|
* Some more work on interal debugging, timing routines for things thatGareth Hughes2001-02-035-607/+736
| | | | | will have implementations in assembly code. To come: texture image conversions, more of internal T&L pipeline and so on.
* Lots of GLchan datatype changes.Brian Paul2001-01-245-26/+159
| | | | | | | | | 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
* Fix crash in book/stencil.Keith Whitwell2001-01-133-3/+63
| | | | | Allow drivers to perform the perspective divide themselves. Assembly to do cliptesting without perspective divide for size-4 vectors.
* Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out driversKeith Whitwell2001-01-082-3/+2
| | | | | | | | | | 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.
* various compilation/warning fixesKeith Whitwell2001-01-053-3/+13
|
* Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)Brian Paul2001-01-022-4/+6
| | | | | Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
* Add render stage for unclipped vb's to fx driver.Keith Whitwell2000-12-281-3/+1
| | | | | | Bump MAX_TEXTURE_UNITS to 8 Fix mem. leak in destroy_lists Fix crash in q3 (cva generally)
* Major rework of tnl moduleKeith Whitwell2000-12-2612-204/+821
| | | | | | | 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.
* Support for swappable t&l modules, including an example one in the FXKeith Whitwell2000-11-243-10/+10
| | | | driver (enable with FX_ALLOW_VTXFMT=t).
* removed #include <tgmath.h>Brian Paul2000-11-201-4/+1
|
* * More work on the auto* build systemJon Taylor2000-11-191-1/+3
| | | | | * Added missing #includes all over the place * Added GGI-style debugging harness to GGIMesa
* * Auto* build fixesJon Taylor2000-11-182-3/+5
| | | | * Added missing includes to math/*
* Minor header file changes to silence warnings.Brian Paul2000-11-173-5/+12
| | | | | 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-1615-0/+5845
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.