summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/savage
AgeCommit message (Collapse)Author
2004-12-23Simplified and optimized _savage_texnorm_stage.Felix Kuehling
2004-12-22Enabled 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 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-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-15Fixed GL_CLAM_TO_EDGE. It's not supported in hardware. Use GL_CLAMPFelix Kuehling
instead of GL_REPEAT.
2004-12-15Fixed initialization of some stencil-related S4 registers, which wasFelix Kuehling
misplaced in savageDDInitState_s3d, where was overwriting completely unrelated S3D registers with garbage.
2004-12-15Moved some code from savageCreateContext to savageInitDriver, where itFelix Kuehling
belongs. Removed some obviously useless code. Fixed computation of MaxTextureLevels.
2004-12-15Fixed some missing uint8_t -> u_int8_t.Felix Kuehling
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-07Fix emitting fog without secondary color and vice-versa.Felix Kuehling
2004-10-04Add some Savage3D stencil documentation based on discussions during theIan Romanick
20-Sep-2004 #dri-devel meeting.
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-07-01Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell
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-24WAIT_IDLE_EMPTY in savageSwapBuffers until real frame throttling is possible.Felix Kuehling
2004-05-03get rid of last few XF86DRIClipRectDave Airlie
2004-04-22Fix order of EMIT_4UB_4F declarationsKeith Whitwell
2004-04-08make note about needing to fix the drm driver to enable SAVAGE_CMD_DMAAlan Hourihane
2004-03-27Forgot to set SAVAGE_NEW_CULL in savageDDEnable_s3d.Felix Kuehling
2004-03-26Enable drawing directly to the (now tiled) front buffer.Felix Kuehling
2004-03-25Recalculate the viewport matrix in savageEmitDrawingRectangle.Felix Kuehling
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-24Missing in last commit.Felix Kuehling
2004-03-24Buffer vertices and emit them in batches. Still using conventional drawingFelix Kuehling
commands, no vertex DMA.
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-21Removed some useless definitions, artifacts from the Utah-GLX i810 driver.Felix Kuehling
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-20Fixed texture LOD bias.Felix Kuehling
2004-03-20Fixed MAXFIFO_S4. Removed WAIT_IDLE_EMPTY from savage_BCI_swap which resultedFelix Kuehling
in another small speedup. Fixed a problem that was masked by that WAIT_IDLE_EMPTY: - flush command buffer and WAIT_IDLE_EMPTY before uploading textures
2004-03-20Cleaned up and fixed stencil fallback.Felix Kuehling
2004-03-08Cleaned up and slightly optimized the texture upload code.Felix Kuehling
2004-03-08Swapout textures who's space is claimed by a new texture. Don't destroy.Felix Kuehling
This finally really fixes assertion failures in savageBindTexture. I think the same situation with several contexts is still broken though.
2004-03-07Fixed texture tiling format for 8bit texels on ProSavage and Twister.Felix Kuehling
2004-03-07Rewrote tiled texture upload. Small mipmap levels work correctly now.Felix Kuehling
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-04Small texture management fixes. Should get rid of assertions some people ↵Felix Kuehling
were getting in savageBindTexture.
2004-03-04Clearing rectangle was one too big in each direction.Felix Kuehling
2004-03-02Cope with float colors in VERT_SET_RGBA and VERT_SET_SPEC macros.Felix Kuehling
2004-03-02Fixed some small state tracking issues while hunting a different problem.Felix Kuehling