summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/texmem.c
AgeCommit message (Collapse)Author
2006-04-02Coverity #567: Fix a memory leak on a failure path.Adam Jackson
2006-02-03replace the texture level hack used in radeon/r200 to allow larger textures ↵Roland Scheidegger
with different methods to calculate the announced maximum texture sizes. Default is still the same (that is, radeon/r200 default to not announce anything which might not fit, i830/i915 default to 1 texture must fit). Bug #5785.
2005-11-28Remove the many aliases for 'struct mem_block' in mm.hKeith Whitwell
2005-10-15fix two bugs wrt calculating max possible texture sizes for texture ↵Roland Scheidegger
rectangles/cube maps.
2005-09-08use an explicit reserved field, rather than magic number in boundKeith Whitwell
2005-09-08Fix the comment for the 'bound' field: it's a bitmask, not an index.Brian Paul
In driTexturesGone(), set bound = 0, not 99.
2005-02-14fix some signed vs unsigned warningsDave Airlie
2005-02-05Fixed a typo in an assertion. (Don't understand how this ever compiled.)Felix Kuehling
Found by Andreas Stenglein.
2005-02-03Use all texture heaps in a fair way when textures need to be kicked inFelix Kuehling
order to make room for new textures. In particular this fixes texture trashing on the first heap when the second heap is occupied by currently unused textures (observed with Torcs and the Savage driver). Heaps are weighted by their sizes by default but drivers can override these and apply their own weights based on relative texture upload speeds to the respective heaps.
2005-02-02Don't try to kick textures from a NULL tex heap.Felix Kuehling
2004-06-19Big-endian texture fixes from Michel Dänzer.Brian Paul
2004-04-26bring over build fixes from stable branchAlan Hourihane
2004-01-27Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell
array, texObj->Image[face][level].
2004-01-16Respect the 'in_use' field in the global LRU as a marker forKeith Whitwell
kernel-reserved memory regions.
2003-10-21Update DRI drivers to current DRI CVS and make them work.Jon Smirl
2003-08-06Shared dri driver resourcesKeith Whitwell