summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/savage/savagetex.c
AgeCommit message (Collapse)Author
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-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-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-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-04Small texture management fixes. Should get rid of assertions some people ↵Felix Kuehling
were getting in savageBindTexture.
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-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.