Add lru config variables for debugging textures and vertex buffers.

This commit is contained in:
aignacio_sf 2008-05-08 23:33:20 +00:00
parent 30ff415599
commit 0b012b4789
2 changed files with 11 additions and 1 deletions

View File

@ -173,11 +173,19 @@ ConfigVariableInt dx_lru_maximum_page_updates_per_frame
ConfigVariableBool dx_lru_debug
("dx-lru-debug", false);
// valid only if dx_lru_debug == true && notify-level-dxgsg9 == debug
// valid only if dx_lru_debug == true
// number of frames to wait until printing out the LRU status
ConfigVariableInt dx_lru_debug_frames_til_output
("dx-lru-debug-frames-til-output", 500);
// valid only if dx_lru_debug == true
ConfigVariableBool dx_lru_debug_textures
("dx-lru-debug-textures", false);
// valid only if dx_lru_debug == true
ConfigVariableBool dx_lru_debug_vertex_buffers
("dx-lru-debug-vertex-buffers", false);
ConfigVariableBool dx_use_dynamic_textures
("dx-use-dynamic-textures", true);

View File

@ -72,6 +72,8 @@ extern ConfigVariableInt dx_lru_maximum_page_updates_per_frame;
// LRU debug variables
extern ConfigVariableBool dx_lru_debug;
extern ConfigVariableInt dx_lru_debug_frames_til_output;
extern ConfigVariableBool dx_lru_debug_textures;
extern ConfigVariableBool dx_lru_debug_vertex_buffers;
extern ConfigVariableBool dx_use_dynamic_textures;