summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/savage/savage_xmesa.c
AgeCommit message (Collapse)Author
2005-01-03Added support for floating point depth buffers on Savage4-basedFelix Kuehling
hardware. By also reversing the depth range this can compensate the loss of accuracy of far objects caused by the projective transformation. Software fallbacks work but are slightly slower since floats in a custom (non IEEE) format have to be encoded and decoded. I havn't done anything about polygon offsets yet. There doesn't seem to be an easy way do get it right except making the offset unit as big as the lowest resolution of depth values. For now float depth is disabled by default but can be enabled through driconf (though I have seen only positive effects so far).
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-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-16Also PUBLICize the config option tableAdam Jackson
2004-12-15Mark __driCreateNewScreen PUBLICAdam Jackson
2004-12-15Added configuration support to the Savage driver. Three options areFelix Kuehling
supported so far.
2004-12-15Moved some code from savageCreateContext to savageInitDriver, where itFelix Kuehling
belongs. Removed some obviously useless code. Fixed computation of MaxTextureLevels.
2004-12-14uint*t -> u_int*tAlan Hourihane
2004-11-27Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul
Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
2004-10-08Apply Eric's stencil wrap patch (Eric Anholt)Alex Deucher
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-08-22Converted the Savage driver to the new DRI interface and enabled compilationFelix Kuehling
in the Mesa tree.
2004-06-03Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd outJon Smirl
2004-03-24Missing in last commit.Felix Kuehling
2004-03-21ctx->Const.MaxTextureLevels is not the highest mipmap level but the numberFelix Kuehling
> of levels, including 0.
2004-03-21Improved MaxTextureLevel computation to take the nr. of tex units and bothFelix Kuehling
texture heaps into account.
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
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-02-29Reorganized hardware state data structures and state emission. Don't trackFelix Kuehling
which registers changed in all the functions that change the state. Instead check which registers changed in the end when the hardware state is updated. Tried to avoid cosmetic (whitespace) changes in this commit.
2004-02-26Set ctx->Const.MaxTexture[Image/Coord]Units correctly. Fixes corruption in q3.Felix Kuehling
2004-02-26Converted vertex setup to use t_vertex.[ch].Felix Kuehling
2004-02-25Call _tnl_allow_pixel/vertex_fog in savageCreateContext. (Brian Paul)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.