summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
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
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-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-03-05fixed segfaults when tex unit 1 enabled, but not unit 0 (conform)Brian 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-03used indent to clean-up the codeBrian Paul
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-03-01fixed mistake in alpha buffer clear testBrian Paul
2001-03-01Uncomment some defaults.Keith Whitwell
2001-03-01Bugfixes for vertex format, templatesKeith Whitwell
2001-03-01added s/w alpha buffer clearingBrian Paul
2001-02-28Templates are in working order.Keith Whitwell
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_*().