summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2001-05-03minor clean-ups and warning fixesBrian Paul
2001-05-03add disabled test to turn on vertex snapping.Keith Whitwell
2001-05-02fixed vertex color problemsBrian Paul
2001-05-02teximage updates. seems to work fine.Brian Paul
2001-05-01minor XFree86 changeBrian Paul
2001-05-01float color changesKeith Whitwell
2001-04-30Lots more eval fixesKeith Whitwell
2001-04-29typoKeith Whitwell
2001-04-29More HW_DIVIDE checks.Keith Whitwell
2001-04-29Allow drivers to provide a dynamic CHECK_HW_DIVIDE, to turn the divide offKeith Whitwell
according to a runtime test.
2001-04-28fix color copying in twosided quadsKeith Whitwell
2001-04-28add specialized interp for backcolor, edgeflagsKeith Whitwell
2001-04-28Support for floating point color representation in tnl module.Keith Whitwell
2001-04-27changed xmesa_visual and xmesa_buffer structs to directly include GLvisual ↵Brian Paul
and GLframebuffer structs instead of pointers
2001-04-26fixed mem leak in XFreeFontInfo() callBrian Paul
2001-04-26flush pipeline in WMesaSwapBuffers (Frank Warmerdam)Brian Paul
2001-04-24texture image code updates (not finished)Brian Paul
2001-04-20compilation fixes - texturing isn't working at this timeBrian Paul
2001-04-20Fixed a texture conversion problem: sometimes need to produce an intermediateBrian Paul
texture image in the base internal format between user->Mesa format conversion. See comments in texstore.c
2001-04-10Added IROUND_POS() macro to mmath.h and use where appropriate. (Klaus ↵Brian Paul
Niederkrueger)
2001-04-09remove a HAVE_ELTS that I'd stuck before.Alan Hourihane
2001-04-09fix use of projected vertices with notex vertices when DO_PTEX isn't set.Alan Hourihane
2001-04-07Add quad and quad_stripAlan Hourihane
2001-04-06add FINISH function at end of each render_* functionAlan Hourihane
fix typo.
2001-04-04More texture image changes.Brian Paul
1. Added ctx->Driver.ChooseTextureFormat() function. Examines user's internalFormat, format, type params and returns a gl_texture_format. 2. _mesa_store_teximage[123]d() calls ctx->Driver.ChooseTextureFormat(), allocates storage and transfers the image into the desired format. 3. _mesa_transfer_teximage() now takes a gl_texture_format to describe the destination format. Any combination of input format/type and output gl_texture_format is accepted. Uses optimized _mesa_convert_- texsubimage[123]d() functions when possible. 3. DRI driver's TexImage[123]D functions should be a lot simpler now.
2001-04-03another fix to clear_32bit_ximage()Brian Paul
2001-04-03include fxdrv.h before other headers (Ivan Kalvatchev)Brian Paul
2001-04-03fixed wglUseFontBitmapsA() bugs (Frank Warmerdam)Brian Paul
2001-04-03clear pixel value wasn't byteswapped for scissored clears in ↵Brian Paul
clear_32bit_ximage()
2001-03-30fixed compilation problems related to ctx->_Enabled removalBrian Paul
2001-03-30Fix calculation of fog coordinate in translate_vertex().Keith Whitwell
2001-03-29silence a compiler warningBrian Paul
2001-03-29Removed DD_Z_NEVER.Brian Paul
Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
2001-03-28compilation updatesBrian Paul
2001-03-28- Restore texImage->IntFormat.Gareth Hughes
- Fix FX driver texture image conversions.
2001-03-27silence compiler warningsBrian Paul
2001-03-23minor tweak to visual setup for accum buffersBrian Paul
2001-03-21added teximage rescaling code. untested at this pointBrian Paul
2001-03-21minor updates for 3.5Brian Paul
2001-03-21use new texture conversion code, still have to do image rescalingBrian Paul
2001-03-20More updates. Radeon tnl module still disabled by default.Gareth Hughes
2001-03-19Split driver struct into swrast/tnl/core components.Keith Whitwell
2001-03-18Fix lineloops.Keith Whitwell
2001-03-17Revert earlier changes protecting against null VB->TexCoordPtr[x]. DoKeith Whitwell
this a better way via check_tex_sizes().
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-12Consistent copyright info (version number, date) across all files.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-08fixed RBGA ifdef typoBrian Paul
2001-03-08do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is definedBrian Paul