summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
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-08More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.Brian Paul
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-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-05added missing ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() macrosBrian Paul
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-03-03changed AlphaFunc() ref from GLclampf to GLchanBrian Paul
2001-03-02fixed _mesa_getenv() weirdnessBrian Paul
2001-02-28removed some bogus error checksBrian Paul
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-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-24Template workKeith Whitwell
2001-02-22 Committing in .Jouk Jansen
Modified Files: Mesa/src/descrip.mms old files removed/ new files included in VMS makefile ----------------------------------------------------------------------
2001-02-21fixed GL_LUMINANCE_ALPHA bug in fetch_2d_texel()Brian Paul
2001-02-20Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture.Brian Paul
Added some const keywords in the s/w texturing code.
2001-02-19Updated Driver.CopyTexImage[12]D and Driver.CopyTexSubImage[123]D functionsBrian Paul
so they work like the other teximage functions. Added fallback routines to texstore.c for drivers to use.
2001-02-17Changed FetchTexel() function pointer arguments.Brian Paul
Implemented glGetTexImage(format=GL_COLOR_INDEX). Changed _mesa_unpack_depth_span() args. Minor changes/clean-ups in mtypes.h. Histogram counter component sizes were wrong.
2001-02-17Work in glGetTexImage() to return GL_COLOR_INDEX images.Brian Paul
Prototype code for GL_SGIX_depth_texture / more flexible teximage code.
2001-02-16moved depth/index/stencil span packing into image.cBrian Paul
2001-02-16Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR whenKeith Whitwell
texturing is not enabled, and without requiring the two colors be added externally. As a part of this, collapsed the decomposition of quads into triangles inside swrast to be hardwired into _swrast_Quad; removed s_quads.[ch]. Removed checks on texture state from t_vb_light.c, which was previously required by swrast. Moved the t_dd_ templates to a new directory.
2001-02-16Fixed conform problems with recent material tracking change.Keith Whitwell
Remove redundant 'update_materials' stage. Fix conform segfault with seperate specular colors in mustpass.c. These tests still fail, however.
2001-02-15Fix propogation of material values in VB's that don't reach the lightingKeith Whitwell
stage. (Materials now treated more like colors, etc.). Continue whipping the dd templates into shape. Remove old NormalLength code; may come back as a driver helper, but not useful for, eg. hardware t&l drivers.
2001-02-13fixed bug in gl_validate_all_lighting_tables() found with CI mode ↵Brian Paul
conformance tests
2001-02-13removed bogus assertionsBrian Paul
2001-02-13gl_error clean-upsBrian Paul
2001-02-12added debug assertions to be sure drivers initialize all required function ↵Brian Paul
pointers
2001-02-09minor updates to sync w/ XFree86 changesBrian Paul
2001-02-07GLchan fixesBrian Paul
2001-02-07fixed texel indexing bug in _mesa_GetTexImage()Brian Paul
2001-02-07added some code for proxy texture testsBrian Paul
2001-02-07 VMS compile updateJouk Jansen
2001-02-07remove unused functionsBrian Paul