summaryrefslogtreecommitdiffstats
path: root/src/mesa/math
Commit message (Collapse)AuthorAgeFilesLines
* fix typo in rotation code (bug 659677)Brian Paul2003-01-081-4/+4
|
* fix bad _mesa_printf() calls (mesa bug 646753)Brian Paul2002-12-044-71/+71
|
* s/getenv/_mesa_getenv/Brian Paul2002-10-301-3/+3
|
* updated email addressesBrian Paul2002-10-294-8/+8
|
* Header file clean-up:Brian Paul2002-10-248-23/+15
| | | | | | | | 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.
* optimizations to _math_matrix_rotate() (Rudolf Opalla)Brian Paul2002-09-121-97/+155
|
* re-enable X86 codeBrian Paul2002-07-101-2/+2
|
* Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul2002-06-296-87/+102
| | | | Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
* Added ctx parameter to _mesa_debug()Brian Paul2002-06-151-2/+2
| | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
* bring over Michel Daenzer's DRI changesBrian Paul2002-06-031-5/+5
|
* remove dead vertex assemblyKeith Whitwell2002-04-092-4/+2
|
* Use invert_matrix_general() instead of invert_matrix_perspective() becauseBrian Paul2002-03-291-3/+10
| | | | the later fails for some projection matrices (ala Vis5D with Chromium).
* replace GLushort w/ GLubyte in DEST_4US template (fixes 16-bit GLchan problemBrian Paul2002-01-301-5/+5
|
* 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.