summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/xmlpool.h
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2005-02-03 21:40:21 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2005-02-03 21:40:21 +0000
commit64b85b456384c22834749a278d073eefd3056611 (patch)
treecbad5e6109be5dae090602c165663fa466b5e329 /src/mesa/drivers/dri/common/xmlpool.h
parent9ea600ff3ffcddbb1431e478ae24517672d32423 (diff)
Use all texture heaps in a fair way when textures need to be kicked in
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.
Diffstat (limited to 'src/mesa/drivers/dri/common/xmlpool.h')
0 files changed, 0 insertions, 0 deletions