summaryrefslogtreecommitdiff
path: root/src/mesa/math
AgeCommit message (Collapse)Author
2003-02-25move matrix type enum out of GLmatrix structBrian Paul
2003-02-17Replace some #defines with enums. (Klaus Niederkrueger)Brian Paul
2003-01-08fix typo in rotation code (bug 659677)Brian Paul
2002-12-04fix bad _mesa_printf() calls (mesa bug 646753)Brian Paul
2002-10-30s/getenv/_mesa_getenv/Brian Paul
2002-10-29updated email addressesBrian 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-07-10re-enable X86 codeBrian 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-06-15Added ctx parameter to _mesa_debug()Brian Paul
Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
2002-06-03bring over Michel Daenzer's DRI changesBrian Paul
2002-04-09remove dead vertex assemblyKeith Whitwell
2002-03-29Use invert_matrix_general() instead of invert_matrix_perspective() becauseBrian Paul
the later fails for some projection matrices (ala Vis5D with Chromium).
2002-01-30replace GLushort w/ GLubyte in DEST_4US template (fixes 16-bit GLchan problemBrian Paul
2002-01-05Vertex program checkpoint commit: converted all vertex attributes (color,Brian Paul
normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
2002-01-05comments, clean-ups, added lots of const qualifiersBrian Paul
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-08-07fixed bug in DEST_4F template functionBrian Paul
2001-06-28restore normal length optimization in dlistsKeith Whitwell
2001-05-23SPARC assembly optimizations from David Miller.Brian Paul
2001-05-21Initial commit of cliptest work. More to come shortly.Gareth Hughes
- 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.
2001-05-18added missing #undefs at end of fileBrian Paul
2001-05-09add missing translate functionsKeith Whitwell
2001-04-28Support for floating point color representation in tnl module.Keith Whitwell
2001-03-30Remove all traces of CULL_MASK_ACTIVE.Gareth Hughes
2001-03-29Consolidation of asm code in 3.5Gareth Hughes
2001-03-12- Add -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L to linux builds, we'veGareth Hughes
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.
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-08processed by indent to improve readabilityBrian Paul
2001-03-08changed bincoeff var to GLfloat, fixes bug introduced in previous check-inBrian Paul
2001-03-08More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.Brian Paul
2001-03-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-03-03more namespace clean-upsBrian Paul
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-20Added GLvector4chan type, removed lots of CHAN_TYPE ifdefs.Keith Whitwell
2001-02-05added mesa_profile extern declBrian Paul
2001-02-05replaced frustrum with frustumBrian Paul
2001-02-03Some more work on interal debugging, timing routines for things thatGareth Hughes
will have implementations in assembly code. To come: texture image conversions, more of internal T&L pipeline and so on.
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