summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2001-03-21renamed some vars, added a bunch of commentsBrian Paul
2001-03-21depth images were broken by latest teximage changes, this fixes the problemBrian Paul
2001-03-20Make COPY_FLOAT available to a wider audience.Gareth Hughes
2001-03-20 Committing in .Jouk Jansen
Modified Files: Mesa/src/descrip.mms Mesa/src/texutil_tmp.h -Updated VMS makefile -__FUNCTION__ is not a defined on VMS (and maybe other systems) For VMS __FUNCTION__ is defined to in texutil_tmp.h ----------------------------------------------------------------------
2001-03-19fix for gl_ztrick bug (Ove Kaaven)Brian Paul
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-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-15removed ARB_texture_env_add bool flag, use EXT_texture_env_add flagBrian Paul
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.