Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-01-23 | My last attempt to fix polygon offsets with the reversed viewport depth | Felix Kuehling | |
range used by the savage driver by negating ctx->MRD broke polygon offsets with software fallbacks. This one adds a REVERSE_DEPTH parameter to t_dd_tritmp.h (defaults to 0) that allows reversing polygon offsets for hardware rendering but not for software fallbacks. For software fallbacks depth values are reversed after polygon offsets have been applied by the depth span functions. | |||
2005-01-22 | Fixed polygon offset with reversed viewport depth range. | Felix Kuehling | |
2005-01-21 | Small cleanup: | Felix Kuehling | |
* Remove some unused (mostly empty) functions * Added context parameter to WAIT_IDLE_EMPTY[_LOCKED] for consistency * Added debug messages to WAIT_IDLE_EMPTY[_LOCKED] * Don't flush empty command buffers | |||
2005-01-20 | * Added options for disabling the fast path (render stage) and vertex DMA | Felix Kuehling | |
* Fixed disabling of the render stage * Added debug output for per-primitive fallbacks * Bumped driver date | |||
2005-01-20 | Added support for ELTS to the _savage_render_stage. Requires at least | Felix Kuehling | |
Savage DRM version 2.2.0. Otherwise the render stage is disabled. | |||
2005-01-16 | Added a fast path for emitting unclipped primitives directly to a | Felix Kuehling | |
vertex buffer. ELTS are not supported yet (missing functionality in the DRM). You need at least Savage DRM version 2.1.3, which fixes a bug that screwed up triangle fans and strips. Moved the texture normalization stage to savagerender.c. | |||
2005-01-15 | Converted to use spantmp2.h. | Felix Kuehling | |
2005-01-13 | Make sure DMA buffers are released in savageDestroyContext. Usually | Felix Kuehling | |
the DRM would reclaim DMA buffers, but if one process creates and destroys many contexts it can still run out of DMA buffers. | |||
2005-01-10 | Fixes to cope with the lack of AGP textures. This is all that's needed | Felix Kuehling | |
to support PCI Savages on the Mesa side. Bumped driver date. | |||
2005-01-08 | * Flush and wait in per-primitive fallback functions. Fixes flickering | Felix Kuehling | |
stars in glplanet. * Refactored vertex format choosing code. Improved the Savage4 version to choose a format suitable for DMA (size = 32bytes) whenever possible. | |||
2005-01-08 | Added state debugging option (SAVAGE_DEBUG=state). | Felix Kuehling | |
Fixed: Use savageEmitChangedRegs instead of savageEmitContiguousRegs for emitting Savage4. | |||
2005-01-07 | Fixed: ptex drawing functions were overridden with standard drawing | Felix Kuehling | |
functions if ANY_RASTER_FLAGS|ANY_FALLBACK_FLAGS were set. | |||
2005-01-05 | * Fixed handling of scissors | Felix Kuehling | |
* Only set scissor regs directly if drmMinor < 1 * Don't set texaddr to 0 when a texture unit is disabled. That would trigger the tightened texture state check in the DRM if the texaddr and texdesc registers were not emitted atomically. | |||
2005-01-03 | Added support for floating point depth buffers on Savage4-based | Felix 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-02 | Improved the performance of software fallbacks by not waiting for idle | Felix Kuehling | |
in every single span function. Instead flush and wait in the SpanRenderStart hook and in wrappers around _swrast_Copy/Draw/ReadPixels. Misc. cleanups in savagespan.c while I'm there. | |||
2005-01-01 | Removed all direct hardware access (MMIO, BCI) from the Savage DRI | Felix Kuehling | |
driver. It uses the new DRM version 2.0.x now, which has just been committed to DRM CVS. | |||
2004-12-23 | Simplified and optimized _savage_texnorm_stage. | Felix Kuehling | |
2004-12-22 | Enabled hardware rendering of 1D textures. No need for a software fallback. | Felix Kuehling | |
2004-12-22 | - Fake projective textures on a single texture unit. A fallback is only | Felix 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-17 | Made debugging output controllable via environment variable | Felix Kuehling | |
SAVAGE_DEBUG. Added fallback debugs. Added no_rast option to disable hardware rasterization (everything as software fallback). | |||
2004-12-17 | Added a TNL pipeline stage that normalizes texture coordinates as a | Felix Kuehling | |
workaround for bad Savage hardware interpolation of big texture coordinates. | |||
2004-12-16 | Also PUBLICize the config option table | Adam Jackson | |
2004-12-15 | Mark __driCreateNewScreen PUBLIC | Adam Jackson | |
2004-12-15 | Added configuration support to the Savage driver. Three options are | Felix Kuehling | |
supported so far. | |||
2004-12-15 | Fixed GL_CLAM_TO_EDGE. It's not supported in hardware. Use GL_CLAMP | Felix Kuehling | |
instead of GL_REPEAT. | |||
2004-12-15 | Fixed initialization of some stencil-related S4 registers, which was | Felix Kuehling | |
misplaced in savageDDInitState_s3d, where was overwriting completely unrelated S3D registers with garbage. | |||
2004-12-15 | Moved some code from savageCreateContext to savageInitDriver, where it | Felix Kuehling | |
belongs. Removed some obviously useless code. Fixed computation of MaxTextureLevels. | |||
2004-12-15 | Fixed some missing uint8_t -> u_int8_t. | Felix Kuehling | |
2004-12-14 | uint*t -> u_int*t | Alan Hourihane | |
2004-11-27 | Remove _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-08 | Apply Eric's stencil wrap patch (Eric Anholt) | Alex Deucher | |
2004-10-07 | Fix emitting fog without secondary color and vice-versa. | Felix Kuehling | |
2004-10-04 | Add some Savage3D stencil documentation based on discussions during the | Ian Romanick | |
20-Sep-2004 #dri-devel meeting. | |||
2004-10-02 | added support for GL_ARB_draw_buffers | Brian Paul | |
2004-08-22 | Converted the Savage driver to the new DRI interface and enabled compilation | Felix Kuehling | |
in the Mesa tree. | |||
2004-07-01 | Rename the various function types in t_context.h to include a tnl_ prefix. | Keith Whitwell | |
2004-06-03 | Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd out | Jon Smirl | |
2004-06-02 | Replace drmHandle, drmContext, drmDrawable, drmMagic and related types with | Ian Romanick | |
drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t. | |||
2004-05-24 | WAIT_IDLE_EMPTY in savageSwapBuffers until real frame throttling is possible. | Felix Kuehling | |
2004-05-03 | get rid of last few XF86DRIClipRect | Dave Airlie | |
2004-04-22 | Fix order of EMIT_4UB_4F declarations | Keith Whitwell | |
2004-04-08 | make note about needing to fix the drm driver to enable SAVAGE_CMD_DMA | Alan Hourihane | |
2004-03-27 | Forgot to set SAVAGE_NEW_CULL in savageDDEnable_s3d. | Felix Kuehling | |
2004-03-26 | Enable drawing directly to the (now tiled) front buffer. | Felix Kuehling | |
2004-03-25 | Recalculate the viewport matrix in savageEmitDrawingRectangle. | Felix Kuehling | |
2004-03-25 | More 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-24 | Make sure hardware culling is disabled for unfilled primitives, | Felix Kuehling | |
points and lines. | |||
2004-03-24 | Missing in last commit. | Felix Kuehling | |
2004-03-24 | Buffer vertices and emit them in batches. Still using conventional drawing | Felix Kuehling | |
commands, no vertex DMA. | |||
2004-03-21 | ctx->Const.MaxTextureLevels is not the highest mipmap level but the number | Felix Kuehling | |
> of levels, including 0. |