summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/savage/savagecontext.h
AgeCommit message (Collapse)Author
2005-09-03SetBuffer, renderbuffer changesBrian Paul
2005-04-21Fixed some suspicious pointer casts that caused lots ofFelix Kuehling
compile-time-warnings on x86-64. Not tested on x86-64 yet, but a good thing in general, so I'm giving up waiting for feedback. See also https://bugs.freedesktop.org/show_bug.cgi?id=2924.
2005-04-21Fixed TexEnv modes GL_BLEND and GL_ADD on Savage4-based cards. DisabledFelix Kuehling
the use of hardware texture format I8 as it produces garbage at least on ProSavageDDR.
2005-03-06Don't synchronize after each frame. Allow the GPU to be one frameFelix Kuehling
ahead of the CPU for more parallelism of CPU and GPU. Unfortunately there seems to be some broken hardware (like my ProSavageDDR) on which status register updates are delayed sometimes. This leads to very jerky animation if the hardware can buffer more than the current frame. A new option "sync_frames" can be used as a remedy on such broken hardware.
2005-03-06- Fixed two bugs related to DMA buffer handling that showed up with theFelix Kuehling
new DRM version 2.4 and command DMA. - Flush less. - Bumped the driver date.
2005-02-05- Fixed scissor rectangle not moving with the window (Xorg bug #1731).Felix Kuehling
- Flush buffered primitives before changing scissors. - Require Savage DRM version 2.1.0, so that the broken single-cliprect code can finally rest in peace. - Removed some more dead code.
2005-01-29* Fixed uploading of textures of certain sizes.Felix Kuehling
* When glTexSubImageND is used, track the set of changed tiles in a bit vector and upload only dirty tiles later. This should improve the performance of dynamic light maps and gl movie player plugins. * Renamed debug item "lru" to "tex". Indicate which levels are uploaded completely or partially.
2005-01-24Converted the Savage texture management to use Ian's common texmem code.Felix Kuehling
2005-01-20* Added options for disabling the fast path (render stage) and vertex DMAFelix Kuehling
* Fixed disabling of the render stage * Added debug output for per-primitive fallbacks * Bumped driver date
2005-01-20Added support for ELTS to the _savage_render_stage. Requires at leastFelix Kuehling
Savage DRM version 2.2.0. Otherwise the render stage is disabled.
2005-01-08Added state debugging option (SAVAGE_DEBUG=state).Felix Kuehling
Fixed: Use savageEmitChangedRegs instead of savageEmitContiguousRegs for emitting Savage4.
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-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-15Added configuration support to the Savage driver. Three options areFelix Kuehling
supported so far.
2004-10-08Apply Eric's stencil wrap patch (Eric Anholt)Alex Deucher
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-06-02Replace drmHandle, drmContext, drmDrawable, drmMagic and related types withIan Romanick
drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
2004-05-03get rid of last few XF86DRIClipRectDave Airlie
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-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-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.