summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_texmem.c
AgeCommit message (Collapse)Author
2008-06-06r300: Improve texture layout calculationsNicolai Haehnle
The texture layout calculations for mipmapped cubemaps used to be completely wrong, since the GPU expects images to be grouped by miplevel instead of by face number. This has been fixed now, though the memory layout is still slightly incorrect for the smaller miplevels. Unfortunately, the docs are lacking in that area.
2008-06-06r300: Remove unused variable r300_tex_obj::dirty_state and related definesNicolai Haehnle
This variable was only ever written to, but nobody used its value.
2007-08-02remove unnecessary null check (bug 11814)Brian
2007-05-30r300: Cleaned up r300DestroyTexObj.Oliver McFadden
2007-05-22r300: Implement SetTexOffset hook.Michel Dänzer
2007-05-13r300: Removed a couple of obsolete/commented out includes.Oliver McFadden
2007-05-12Revert "r300: Perform the locking closer to the DRM texture upload call."Oliver McFadden
This reverts commit 93881edb46fc95e1cfb4ded4e8a5db92612d3e4d.
2007-05-12r300: Perform the locking closer to the DRM texture upload call.Oliver McFadden
This might help if with attaching GDB if the driver gets into a -EAGAIN loop.
2007-05-11r300: Function naming correction in r300_texmem.c.Oliver McFadden
2007-05-09r300: Added some more Doxygen documentation and made some functions static.Oliver McFadden
2007-05-09r300: Converted a few "if (0)" into "if (RADEON_DEBUG & DEBUG_TEXTURE)".Oliver McFadden
2007-05-09r300: Renamed the R300 memory manager from "radeon" to "r300"; it's R300Oliver McFadden
specific.
2007-05-09r300: Last of the indent changes. :)Oliver McFadden
2007-05-09r300: Indented r300_texmem.[ch].Oliver McFadden
2007-05-09r300: Corrected the exit codes for consistency; they are all -1 for error now.Oliver McFadden
The one exception is 300FlushCmdBuf.
2007-05-09r300: Converted exit calls to _mesa_exit calls.Oliver McFadden
Note that the exit codes are inconsistent and should be fixed.
2007-03-25r300: Whitespace cleanup in r300_texmem.cNicolai Haehnle
2007-03-18r300: Removed the deprecated $XFree86$ CVS keywords.Oliver McFadden
2006-09-12Removing some of r200 dependency, cleaning up code a bit,Jerome Glisse
and fixing a couple of warning. More cleanup and shuffle to come. I have tested this change they might broke things especialy with r300_texstate.c change (format_x doesn't seems to be use at all by r300).
2006-04-11rectangular fp16 fixes (Ewald Snel)Aapo Tahkola
2006-03-29FP textures and fixes (Ewald Snel)Brian Paul
2006-03-20Fix texrect upload conflicts.Aapo Tahkola
2006-03-06Port r200 tex tiling code to run on r300 but keep it disabled.Aapo Tahkola
2005-12-04Fix r300 rectangular texture upload and swtcl coordinate fixing same as radeonDave Airlie
sw tcl
2005-09-25Add support for texture compression to R300 driverDave Airlie
This isn't perfect, texcmp still has some issues with the small textures.. but its a good start
2005-08-25Attempt to fix the issue reported by Alan Grimes with DRM_RADEON_TEXTUREEric Anholt
erroring out when it shouldn't. The errno could be changed by usleep() between the ioctl call and the loop check, if a signal was received. This could cause an EAGAIN return from the DRM_RADEON_TEXTURE ioctl to not loop again. Instead of checking errno, check thevalue of ret itself, since it is a saved (and sign-flipped) copy of errno from the ioctl call.
2005-03-08Replacing some RADEON cmd types with r300 counterparts.Aapo Tahkola
2005-02-17Fixing *lots* of warning messages, especially concerning unportableNicolai Haehnle
whitespace before preprocessor commands. Please, can you try to keep the warnings down? Try running make with make -s sometime to see just how bad an offender the current code is.
2005-02-16small cleanup, remove some warningsRune Petersen
2005-02-03Get vertex programs supplied by the user work properly with immediate mode - ↵Vladimir Dergachev
vertex buffer mode worked by accident. Fix alu_offset in SINGLE_TEXTURE_PIPELINE.
2005-01-31Add magic sequence to prevent ClearBuffer from locking up.Vladimir Dergachev
Change Polygon.OffsetFill from fallback to warn once. Quake demo now works, modulo texture rendering issues due to absent pixel shader pipeline.
2005-01-31Use SecondaryColorPtr, not ColorPtr[1] (the latter is NULL).Vladimir Dergachev
This fixes segfault in tuxracer-demo. It locks up after this though.
2005-01-13Incorporate TX_FORMAT information contributed by Wladimir van der Laan.Vladimir Dergachev
Attempt to use it in r300_state.c We are still missing something and the formats do not quite work. Perhaps something in texture management code ?
2005-01-03Port texture allocation code from R200.Vladimir Dergachev
Hook it up, so lesson06 displays red colored textures.