summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2001-03-19Split driver struct into swrast/tnl/core components.Keith Whitwell
2001-03-18Add missing header file include.Gareth Hughes
2001-03-18Remove #endif.Gareth Hughes
2001-03-18Make assertions take new GLchan formats into account.Gareth Hughes
2001-03-18Fix error message.Gareth Hughes
2001-03-18Fix header info.Gareth Hughes
2001-03-18Remove old code, fix a few comments.Gareth Hughes
2001-03-18- Port 3.4 texture utils, texture format work to 3.5 (including newGareth Hughes
FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic.
2001-03-18Fix lineloops.Keith Whitwell
2001-03-17Fix cut&paste bug exposed by clipbug.c demo.Keith Whitwell
2001-03-17Remove dead #define.Keith Whitwell
Add case for triangles culled front and back -- not handled by the culling code inside swrast triangle routines.
2001-03-17Revert earlier changes protecting against null VB->TexCoordPtr[x]. DoKeith Whitwell
this a better way via check_tex_sizes().
2001-03-15removed ARB_texture_env_add bool flag, use EXT_texture_env_add flagBrian Paul
2001-03-15use IROUND() instead of (int) cast (Klaus Niederkrueger)Brian Paul
2001-03-14Fix typo.Gareth Hughes
2001-03-13Initial templates for immediate mode fastpaths, or custom tnl modules.Gareth Hughes
Completely untested and incomplete. More to follow.
2001-03-12Undo -D_POSIX_SOURCE change, fix the way the katmai support test isGareth Hughes
done.
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-12Add missing header file.Gareth Hughes
2001-03-12Add missing header file include.Gareth Hughes
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-11Minor cleanups.Gareth Hughes
2001-03-11Clean up install, restore for exec vtxfmts.Gareth Hughes
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