Add a config option for the management of textures with DirectX management.

This commit is contained in:
aignacio_sf 2006-08-29 00:18:46 +00:00
parent cf0586bba6
commit 34c5a2fc6c
2 changed files with 7 additions and 0 deletions

View File

@ -135,6 +135,12 @@ ConfigVariableBool link_tristrips
ConfigVariableBool dx_management
("dx-management", true);
// valid only if dx_management == false
// true = use DirectX management of texture memory
// false = lru will manage texture memory
ConfigVariableBool dx_texture_management
("dx-texture-management", true);
// valid only if dx_management == false
// true = enable LRU management of video memory
// false = no video memory management

View File

@ -62,6 +62,7 @@ extern ConfigVariableBool dx_debug_view_mipmaps;
// LRU configuration variables
extern ConfigVariableBool dx_management;
extern ConfigVariableBool dx_texture_management;
extern ConfigVariableBool dx_lru_management;
extern ConfigVariableInt dx_lru_maximum_pages;
extern ConfigVariableInt dx_lru_free_memory_requirement;