summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Minor cleanups.Gareth Hughes2001-03-111-4/+2
|
* Clean up install, restore for exec vtxfmts.Gareth Hughes2001-03-114-13/+21
|
* Support for swappable tnl modules.Gareth Hughes2001-03-119-95/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Core Mesa provides a neutral tnl module that verifies the currently module before installing the tnl function pointers in a lazy fashion. It also records which tnl functions have been swapped out, and only restores these when tnl modules themselves are swapped. Fallback strategies: Drivers set a bitmask of dangerous stage changes. When such a state change occurs, the driver should restore the neutral tnl module via _mesa_restore_exec_vtxfmt(). The neutral tnl module will call _mesa_update_state(), followed by ctx->Driver.ValidateTnlModule() if the validation bitmask matches the new state bitmask. The driver should call _tnl_wakeup_exec() if it can no longer handle the current state, which will revert to the default tnl module. In this case, previous vertices should be replayed as required (depending on the current primitive) after the new tnl module is installed. If the driver uses chooser functions for any part of the tnl module, these should generally be reinstalled as part of the fallback to the neutral tnl module. For example, if the lighting state changes, a driver might fall back to the neutral tnl module, verify that the current lighting state can be handled, and use the chooser function to pick the most efficient implementation of the current lighting state. It is up to the drivers to detect and handle fallback cases caused by tnl function calls themselves (such as glTexCoord4f* if the current tnl module can't handle projected textures, for example).
* Add a couple of missing functions.Gareth Hughes2001-03-101-69/+106
|
* More generic vtxfmt template, useful for creating neutral tnl module asGareth Hughes2001-03-091-0/+421
| | | | well as fallback functions for driver tnl modules.
* fixed RBGA ifdef typoBrian Paul2001-03-081-1/+1
|
* do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is definedBrian Paul2001-03-086-37/+80
|
* 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-0818-74/+85
|
* added an assertion in the init code, just to be safeBrian Paul2001-03-071-0/+3
|
* Misc build fixesJon Taylor2001-03-071-9/+13
|
* Add missing copy in _mesa_noop_Color4fv().Gareth Hughes2001-03-071-18/+18
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-0748-295/+312
| | | | of potential problems
* _MinMagThresh[] should be GLfloatBrian Paul2001-03-071-2/+4
|
* added some casts in the 16-bit GLchan macros, just to be safeBrian Paul2001-03-071-4/+4
|
* added Driver.BlendColor() function, for completenessBrian Paul2001-03-072-4/+8
|
* fixed segfaults when tex unit 1 enabled, but not unit 0 (conform)Brian Paul2001-03-051-116/+160
|
* added missing ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() macrosBrian Paul2001-03-051-1/+13
|
* DO_POINT renamed DO_POINTSKeith Whitwell2001-03-051-2/+2
|
* Changes for ffbKeith Whitwell2001-03-052-68/+178
|
* Fix typoKeith Whitwell2001-03-051-1/+1
|
* Add missing cases for viewport transform. Remove INVALIDATE_STORED_VERTICSKeith Whitwell2001-03-052-14/+25
| | | | macro
* replaced gl_test_os_katmai*() with _mesa_test_os_katmai*()Brian Paul2001-03-051-5/+5
|
* more clean-upsBrian Paul2001-03-038-45/+41
|
* used indent to clean-up the codeBrian Paul2001-03-0313-5466/+5758
|
* more namespace clean-upsBrian Paul2001-03-0312-130/+130
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-03122-1521/+1526
|
* optimized lambda calculation (Klaus Niederkrueger)Brian Paul2001-03-032-203/+218
|
* changed AlphaFunc() ref from GLclampf to GLchanBrian Paul2001-03-031-2/+2
|
* fixed _mesa_getenv() weirdnessBrian Paul2001-03-021-3/+3
|
* fixed mistake in alpha buffer clear testBrian Paul2001-03-011-2/+2
|
* Uncomment some defaults.Keith Whitwell2001-03-011-11/+11
|
* Bugfixes for vertex format, templatesKeith Whitwell2001-03-013-45/+36
|
* added s/w alpha buffer clearingBrian Paul2001-03-011-1/+8
|
* removed some bogus error checksBrian Paul2001-02-281-15/+3
|
* Templates are in working order.Keith Whitwell2001-02-285-282/+593
|
* GLvisual inside GLframebuffer is no longer a pointer, copy the struct instead.Brian Paul2001-02-283-17/+30
| | | | | Added context/drawbuffer visual config sanity checking in _mesa_make_current2(). Added some 'const' keywords.
* fixed glitches in error checking of imaging extensionsBrian Paul2001-02-273-38/+38
|
* signal _NEW_TEXTURE in all teximage functionsBrian Paul2001-02-271-1/+10
|
* added fog coord clampingBrian Paul2001-02-271-3/+5
|
* colortable w/ size=0 wasn't handled correctlyBrian Paul2001-02-272-99/+82
|
* Initialize Line._WidthKeith Whitwell2001-02-271-1/+2
|
* more tweaksBrian Paul2001-02-271-3/+1
|
* minor extension tweaksBrian Paul2001-02-272-5/+9
|
* Disable most extensions by default. Drivers should enable them as needed.Brian Paul2001-02-265-101/+175
| | | | Renamed gl_*() functions as _mesa_*().
* fixed extension checking in _mesa_BlendEquation()Brian Paul2001-02-261-6/+13
|
* tiny change to a gl_problem() callBrian Paul2001-02-261-2/+2
|
* added a cube map error checkBrian Paul2001-02-261-1/+10
|
* bilinear sampling of depth texturesBrian Paul2001-02-261-29/+251
|