Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor cleanups. | Gareth Hughes | 2001-03-11 | 1 | -4/+2 |
| | |||||
* | Clean up install, restore for exec vtxfmts. | Gareth Hughes | 2001-03-11 | 4 | -13/+21 |
| | |||||
* | Support for swappable tnl modules. | Gareth Hughes | 2001-03-11 | 9 | -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 Hughes | 2001-03-10 | 1 | -69/+106 |
| | |||||
* | More generic vtxfmt template, useful for creating neutral tnl module as | Gareth Hughes | 2001-03-09 | 1 | -0/+421 |
| | | | | well as fallback functions for driver tnl modules. | ||||
* | fixed RBGA ifdef typo | Brian Paul | 2001-03-08 | 1 | -1/+1 |
| | |||||
* | do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is defined | Brian Paul | 2001-03-08 | 6 | -37/+80 |
| | |||||
* | processed by indent to improve readability | Brian Paul | 2001-03-08 | 1 | -200/+161 |
| | |||||
* | changed bincoeff var to GLfloat, fixes bug introduced in previous check-in | Brian Paul | 2001-03-08 | 1 | -11/+11 |
| | |||||
* | More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work. | Brian Paul | 2001-03-08 | 18 | -74/+85 |
| | |||||
* | added an assertion in the init code, just to be safe | Brian Paul | 2001-03-07 | 1 | -0/+3 |
| | |||||
* | Misc build fixes | Jon Taylor | 2001-03-07 | 1 | -9/+13 |
| | |||||
* | Add missing copy in _mesa_noop_Color4fv(). | Gareth Hughes | 2001-03-07 | 1 | -18/+18 |
| | |||||
* | fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵ | Brian Paul | 2001-03-07 | 48 | -295/+312 |
| | | | | of potential problems | ||||
* | _MinMagThresh[] should be GLfloat | Brian Paul | 2001-03-07 | 1 | -2/+4 |
| | |||||
* | added some casts in the 16-bit GLchan macros, just to be safe | Brian Paul | 2001-03-07 | 1 | -4/+4 |
| | |||||
* | added Driver.BlendColor() function, for completeness | Brian Paul | 2001-03-07 | 2 | -4/+8 |
| | |||||
* | fixed segfaults when tex unit 1 enabled, but not unit 0 (conform) | Brian Paul | 2001-03-05 | 1 | -116/+160 |
| | |||||
* | added missing ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() macros | Brian Paul | 2001-03-05 | 1 | -1/+13 |
| | |||||
* | DO_POINT renamed DO_POINTS | Keith Whitwell | 2001-03-05 | 1 | -2/+2 |
| | |||||
* | Changes for ffb | Keith Whitwell | 2001-03-05 | 2 | -68/+178 |
| | |||||
* | Fix typo | Keith Whitwell | 2001-03-05 | 1 | -1/+1 |
| | |||||
* | Add missing cases for viewport transform. Remove INVALIDATE_STORED_VERTICS | Keith Whitwell | 2001-03-05 | 2 | -14/+25 |
| | | | | macro | ||||
* | replaced gl_test_os_katmai*() with _mesa_test_os_katmai*() | Brian Paul | 2001-03-05 | 1 | -5/+5 |
| | |||||
* | more clean-ups | Brian Paul | 2001-03-03 | 8 | -45/+41 |
| | |||||
* | used indent to clean-up the code | Brian Paul | 2001-03-03 | 13 | -5466/+5758 |
| | |||||
* | more namespace clean-ups | Brian Paul | 2001-03-03 | 12 | -130/+130 |
| | |||||
* | lots of gl_*() to _mesa_*() namespace clean-up | Brian Paul | 2001-03-03 | 122 | -1521/+1526 |
| | |||||
* | optimized lambda calculation (Klaus Niederkrueger) | Brian Paul | 2001-03-03 | 2 | -203/+218 |
| | |||||
* | changed AlphaFunc() ref from GLclampf to GLchan | Brian Paul | 2001-03-03 | 1 | -2/+2 |
| | |||||
* | fixed _mesa_getenv() weirdness | Brian Paul | 2001-03-02 | 1 | -3/+3 |
| | |||||
* | fixed mistake in alpha buffer clear test | Brian Paul | 2001-03-01 | 1 | -2/+2 |
| | |||||
* | Uncomment some defaults. | Keith Whitwell | 2001-03-01 | 1 | -11/+11 |
| | |||||
* | Bugfixes for vertex format, templates | Keith Whitwell | 2001-03-01 | 3 | -45/+36 |
| | |||||
* | added s/w alpha buffer clearing | Brian Paul | 2001-03-01 | 1 | -1/+8 |
| | |||||
* | removed some bogus error checks | Brian Paul | 2001-02-28 | 1 | -15/+3 |
| | |||||
* | Templates are in working order. | Keith Whitwell | 2001-02-28 | 5 | -282/+593 |
| | |||||
* | GLvisual inside GLframebuffer is no longer a pointer, copy the struct instead. | Brian Paul | 2001-02-28 | 3 | -17/+30 |
| | | | | | Added context/drawbuffer visual config sanity checking in _mesa_make_current2(). Added some 'const' keywords. | ||||
* | fixed glitches in error checking of imaging extensions | Brian Paul | 2001-02-27 | 3 | -38/+38 |
| | |||||
* | signal _NEW_TEXTURE in all teximage functions | Brian Paul | 2001-02-27 | 1 | -1/+10 |
| | |||||
* | added fog coord clamping | Brian Paul | 2001-02-27 | 1 | -3/+5 |
| | |||||
* | colortable w/ size=0 wasn't handled correctly | Brian Paul | 2001-02-27 | 2 | -99/+82 |
| | |||||
* | Initialize Line._Width | Keith Whitwell | 2001-02-27 | 1 | -1/+2 |
| | |||||
* | more tweaks | Brian Paul | 2001-02-27 | 1 | -3/+1 |
| | |||||
* | minor extension tweaks | Brian Paul | 2001-02-27 | 2 | -5/+9 |
| | |||||
* | Disable most extensions by default. Drivers should enable them as needed. | Brian Paul | 2001-02-26 | 5 | -101/+175 |
| | | | | Renamed gl_*() functions as _mesa_*(). | ||||
* | fixed extension checking in _mesa_BlendEquation() | Brian Paul | 2001-02-26 | 1 | -6/+13 |
| | |||||
* | tiny change to a gl_problem() call | Brian Paul | 2001-02-26 | 1 | -2/+2 |
| | |||||
* | added a cube map error check | Brian Paul | 2001-02-26 | 1 | -1/+10 |
| | |||||
* | bilinear sampling of depth textures | Brian Paul | 2001-02-26 | 1 | -29/+251 |
| |