summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2001-03-28- Restore texImage->IntFormat.Gareth Hughes
- Fix FX driver texture image conversions.
2001-03-28use Image[i]->TexFormat to check for mipmap consistencyBrian Paul
2001-03-28New type system for assembly code. Asm files should now includeGareth Hughes
matypes.h, which includes assyntax.h and is generated from the core Mesa header files.
2001-03-28More texture format updates. Drivers now need only plug an appropriateGareth Hughes
format into texImage->TexFormat, the rest is handled by core Mesa.
2001-03-28New mechanism for thread-safe GL API dispatch. C-based dispatch is faster.Brian Paul
Folded glapinoop.c code into glapi.c. Added code to glapitemp.h to fill in dispatch tables. Updated Makefiles.
2001-03-27pass dst and src to CONVERT_TEXEL() macros to fix non-ANSI problemsBrian Paul
2001-03-27fixed RGBA/RGB typoBrian Paul
2001-03-27texFormat was a random value in _mesa_store_teximage3d(), fix by undoing ↵Brian Paul
last changes
2001-03-27Updates required for DRI drivers on mesa-3-5-branch.Gareth Hughes
2001-03-27silence compiler warningsBrian Paul
2001-03-26removed DO_GEOMETRYBrian Paul
2001-03-26change glTexImage3D() internalFormat to GLenum to match other OpenGLsBrian Paul
2001-03-26added GL_ARB_texture_border_clampBrian Paul
2001-03-24- Minor cleanups of ctx->Driver.Current*Primitive usage.Gareth Hughes
- Remove unused gl_reduce_prim array.
2001-03-24Fix ASSERT_OUTSIDE_SAVE_BEGIN_END() macro as well.Gareth Hughes
2001-03-23Some more minor cleanups of macros.Gareth Hughes
2001-03-23Remove compiler warnings about ASSERT_OUTSIDE_BEGIN_END() macro.Gareth Hughes
2001-03-22enable GL_ARB_texture_env_combine and GL_ARB_texture_env_dot3 in ↵Brian Paul
_mesa_enable_sw_extensions()
2001-03-22Remove formats that no longer exist.Gareth Hughes
2001-03-22Minor updates.Gareth Hughes
2001-03-22Fix texture format enum values (Brian Paul).Gareth Hughes
2001-03-22added GL_ARB_texture_env_dot3 enumsBrian Paul
2001-03-22added GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3Brian Paul
2001-03-22Add PolygonOffset driver callback.Gareth Hughes
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