diff -r 423dd85009cf -r ac3859d43844 uiacceltk/hitchcock/coretoolkit/src/HuiCanvasTextureCache.cpp --- a/uiacceltk/hitchcock/coretoolkit/src/HuiCanvasTextureCache.cpp Fri May 14 02:53:35 2010 +0300 +++ b/uiacceltk/hitchcock/coretoolkit/src/HuiCanvasTextureCache.cpp Tue May 25 17:55:19 2010 +0300 @@ -32,6 +32,15 @@ #include #include +#include "alfmoduletestconf.h" +#ifdef USE_MODULE_TEST_HOOKS_FOR_ALF + // Provides TLS object data for test cases. + // This is used only if module test hooks are set on. + #include "huistatictlsdata.h" +#endif // USE_MODULE_TEST_HOOKS_FOR_ALF +// Provides module test hook defines. +#include "alfmoduletestdefines.h" + // Enable this for debugging cache usage //#define HUI_DEBUG_PRINT_CANVAS_TEXTURE_CACHE //#define HUI_DEBUG_PRINT_CANVAS_TEXTURE_CACHE_EGL @@ -3508,6 +3517,8 @@ iMaxTextureMemoryInKBytes = KHuiMaxRecommendedTextureAmountInKBytes; iMaxRenderBufferMemoryInKBytes = KHuiMaxRecommendedRenderBufferAmountInKBytes; } + + AMT_MAP_CANVAS_TEXTURE_CACHE_SET_MEMORY_LEVEL(); } TBool CHuiCanvasTextureCache::IsLowMemoryStateEnabled() const