From 8026a56920b09cef40e3678f1f87f10fd7c7cab4 Mon Sep 17 00:00:00 2001 From: aignacio_sf <> Date: Thu, 11 Jan 2007 19:49:12 +0000 Subject: [PATCH] Update LRU settings. --- panda/src/dxgsg9/config_dxgsg9.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/panda/src/dxgsg9/config_dxgsg9.cxx b/panda/src/dxgsg9/config_dxgsg9.cxx index f58790e51a..81f68a3007 100755 --- a/panda/src/dxgsg9/config_dxgsg9.cxx +++ b/panda/src/dxgsg9/config_dxgsg9.cxx @@ -152,7 +152,7 @@ ConfigVariableInt dx_lru_maximum_pages // this will allow DirectX some space in case of memory fragmentation, ... // this does not apply if dx_lru_minimum_memory_requirement is not met ConfigVariableInt dx_lru_free_memory_requirement -("dx-lru-free-memory-requirement", 5000000); +("dx-lru-free-memory-requirement", 12000000); // this is like the minimum recommended amount of video memory ConfigVariableInt dx_lru_minimum_memory_requirement @@ -161,12 +161,12 @@ ConfigVariableInt dx_lru_minimum_memory_requirement // used to cap the amount of video memory used // 0 = use all available DirectX video memory ConfigVariableInt dx_lru_maximum_memory_requirement -("dx-lru-maximum-memory-requirement", 128000000); +("dx-lru-maximum-memory-requirement", 0); // the number of LRU pages the LRU will update per frame // do not set this too high or it will degrade performance ConfigVariableInt dx_lru_maximum_page_updates_per_frame -("dx-lru-maximum-page-updates-per-frame", 10); +("dx-lru-maximum-page-updates-per-frame", 20); // lru debug on/off ConfigVariableBool dx_lru_debug