Home
last modified time | relevance | path

Searched refs:cacheManager (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp45 while (getCacheUsage(grContext) <= renderThread.cacheManager().getBackgroundCacheSize()) { in RENDERTHREAD_SKIA_PIPELINE_TEST()
61 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in RENDERTHREAD_SKIA_PIPELINE_TEST()
75 ASSERT_TRUE(renderThread.cacheManager().getBackgroundCacheSize() < purgeableBytes); in RENDERTHREAD_SKIA_PIPELINE_TEST()
78 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in RENDERTHREAD_SKIA_PIPELINE_TEST()
80 ASSERT_TRUE(renderThread.cacheManager().getBackgroundCacheSize() > getCacheUsage(grContext)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
83 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp192 cacheManager().configureContext(&options, glesVersion, size); in requireGlContext()
206 cacheManager().configureContext(&options, &vkDriverVersion, sizeof(vkDriverVersion)); in requireVkContext()
DRenderThread.h112 CacheManager& cacheManager() { return *mCacheManager; } in cacheManager() function
DCanvasContext.cpp591 mRenderThread.cacheManager().onFrameCompleted(); in draw()
688 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in trimMemory()
691 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in trimMemory()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp57 mRenderThread.cacheManager().trimStaleResources(); in onDestroyHardwareResources()
184 mRenderThread.cacheManager().dumpMemoryUsage(cachesOutput, in createOrUpdateLayer()