summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/savage/savagetris.c
AgeCommit message (Collapse)Author
2005-01-01Removed all direct hardware access (MMIO, BCI) from the Savage DRIFelix Kuehling
driver. It uses the new DRM version 2.0.x now, which has just been committed to DRM CVS.
2004-12-23Simplified and optimized _savage_texnorm_stage.Felix Kuehling
2004-12-22- Fake projective textures on a single texture unit. A fallback is onlyFelix Kuehling
needed if a second texture unit is enabled. - Also worked around an application bug in Chromium B.S.U.: it sends 3D texture coordinates while only a 2D texture is enabled. This used to trigger a PTEX fallback. Now the 3rd coordinate is just ignored. - Fixed the _savage_texnorm_stage to never normalize homogenous texture coordinates.
2004-12-17Made debugging output controllable via environment variableFelix Kuehling
SAVAGE_DEBUG. Added fallback debugs. Added no_rast option to disable hardware rasterization (everything as software fallback).
2004-12-17Added a TNL pipeline stage that normalizes texture coordinates as aFelix Kuehling
workaround for bad Savage hardware interpolation of big texture coordinates.
2004-12-14uint*t -> u_int*tAlan Hourihane
2004-10-07Fix emitting fog without secondary color and vice-versa.Felix Kuehling
2004-07-01Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell
2004-04-22Fix order of EMIT_4UB_4F declarationsKeith Whitwell
2004-03-25More state management changes:Felix Kuehling
- Don't lock in savageDDUpdateStatte, don't call savageEmitHwStateLocked - Need to grab the lock for texture uploads now - New SAVAGE_NEW_CULL bit in new_state to make sure that culling state and raster_primitive are not examined at the wrong times.
2004-03-24Make sure hardware culling is disabled for unfilled primitives,Felix Kuehling
points and lines.
2004-03-24Buffer vertices and emit them in batches. Still using conventional drawingFelix Kuehling
commands, no vertex DMA.
2004-03-21unsigned int -> uint32_t, unsigned char -> uint8_t where the size matters.Felix Kuehling
A bit more cosmetics. Improved state emit on Savage 3D/IX/MX.
2004-03-07Fixed two small problems in the vertex setup.Felix Kuehling
- make sure that vertex setup is initialized - Savage seems to need the W coordinate for smooth shading
2004-03-02Cope with float colors in VERT_SET_RGBA and VERT_SET_SPEC macros.Felix Kuehling
2004-02-29Corrected the maximum vertex size argument of _tnl_init_vertices.Felix Kuehling
2004-02-26Adapt the VERT_SET/COPY/SAVE/RESTORE_RGBA/SPEC macros to copy with all ↵Felix Kuehling
savage vertex formats.
2004-02-26Converted vertex setup to use t_vertex.[ch].Felix Kuehling
2004-02-22Imported the Savage DRI driver from the savage-2-0-0-branch of DRI CVSFelix Kuehling
with modifications to make it work with current Mesa 6.