Add a config option for the management of textures with DirectX management.
This commit is contained in:
parent
cf0586bba6
commit
34c5a2fc6c
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue