summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2001-03-11Support for swappable tnl modules.Gareth Hughes
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).
2001-03-10Add a couple of missing functions.Gareth Hughes
2001-03-09More generic vtxfmt template, useful for creating neutral tnl module asGareth Hughes
well as fallback functions for driver tnl modules.
2001-03-08fixed RBGA ifdef typoBrian Paul
2001-03-08do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is definedBrian Paul
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-07added an assertion in the init code, just to be safeBrian Paul
2001-03-07Misc build fixesJon Taylor
2001-03-07Add missing copy in _mesa_noop_Color4fv().Gareth Hughes
2001-03-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-03-07_MinMagThresh[] should be GLfloatBrian Paul
2001-03-07added some casts in the 16-bit GLchan macros, just to be safeBrian Paul
2001-03-07added Driver.BlendColor() function, for completenessBrian Paul
2001-03-05fixed segfaults when tex unit 1 enabled, but not unit 0 (conform)Brian Paul
2001-03-05added missing ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() macrosBrian Paul
2001-03-05DO_POINT renamed DO_POINTSKeith Whitwell
2001-03-05Changes for ffbKeith Whitwell
2001-03-05Fix typoKeith Whitwell
2001-03-05Add missing cases for viewport transform. Remove INVALIDATE_STORED_VERTICSKeith Whitwell
macro
2001-03-05replaced gl_test_os_katmai*() with _mesa_test_os_katmai*()Brian Paul
2001-03-03more clean-upsBrian Paul
2001-03-03used indent to clean-up the codeBrian Paul
2001-03-03more namespace clean-upsBrian Paul
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-03-03optimized lambda calculation (Klaus Niederkrueger)Brian Paul
2001-03-03changed AlphaFunc() ref from GLclampf to GLchanBrian Paul
2001-03-02fixed _mesa_getenv() weirdnessBrian Paul
2001-03-01fixed mistake in alpha buffer clear testBrian Paul
2001-03-01Uncomment some defaults.Keith Whitwell
2001-03-01Bugfixes for vertex format, templatesKeith Whitwell
2001-03-01added s/w alpha buffer clearingBrian Paul
2001-02-28removed some bogus error checksBrian Paul
2001-02-28Templates are in working order.Keith Whitwell
2001-02-28GLvisual inside GLframebuffer is no longer a pointer, copy the struct instead.Brian Paul
Added context/drawbuffer visual config sanity checking in _mesa_make_current2(). Added some 'const' keywords.
2001-02-27fixed glitches in error checking of imaging extensionsBrian Paul
2001-02-27signal _NEW_TEXTURE in all teximage functionsBrian Paul
2001-02-27added fog coord clampingBrian Paul
2001-02-27colortable w/ size=0 wasn't handled correctlyBrian Paul
2001-02-27Initialize Line._WidthKeith Whitwell
2001-02-27more tweaksBrian Paul
2001-02-27minor extension tweaksBrian Paul
2001-02-26Disable most extensions by default. Drivers should enable them as needed.Brian Paul
Renamed gl_*() functions as _mesa_*().
2001-02-26fixed extension checking in _mesa_BlendEquation()Brian Paul
2001-02-26tiny change to a gl_problem() callBrian Paul
2001-02-26added a cube map error checkBrian Paul
2001-02-26bilinear sampling of depth texturesBrian Paul
2001-02-24Template workKeith Whitwell
2001-02-23another fix in _mesa_stencil_and_ztest_pixels() for hardware fallbacksBrian Paul