diff -r 7c5dd702d6d3 -r f93c875b566e uiacceltk/hitchcock/coretoolkit/src/HuiCanvasTextureCache.cpp --- a/uiacceltk/hitchcock/coretoolkit/src/HuiCanvasTextureCache.cpp Tue May 11 17:03:00 2010 +0300 +++ b/uiacceltk/hitchcock/coretoolkit/src/HuiCanvasTextureCache.cpp Tue May 25 13:39:57 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