Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp44 while (getCacheUsage(grContext) <= renderThread.cacheManager().getBackgroundCacheSize()) { in RENDERTHREAD_SKIA_PIPELINE_TEST()
62 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in RENDERTHREAD_SKIA_PIPELINE_TEST()
76 ASSERT_TRUE(renderThread.cacheManager().getBackgroundCacheSize() < purgeableBytes); in RENDERTHREAD_SKIA_PIPELINE_TEST()
79 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in RENDERTHREAD_SKIA_PIPELINE_TEST()
81 ASSERT_TRUE(renderThread.cacheManager().getBackgroundCacheSize() > getCacheUsage(grContext)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
84 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp52 return mRenderThread.cacheManager().getTaskManager(); in getTaskManager()
57 mRenderThread.cacheManager().trimStaleResources(); in onDestroyHardwareResources()
191 mRenderThread.cacheManager().dumpMemoryUsage(cachesOutput, in createOrUpdateLayer()
228 sp<VectorDrawableAtlas> atlas = mRenderThread.cacheManager().acquireVectorDrawableAtlas(); in renderVectorDrawableCache()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.h100 CacheManager& cacheManager() { return *mCacheManager; } in cacheManager() function
DRenderProxy.cpp365 thread.cacheManager().acquireVectorDrawableAtlas()->repackIfNeeded( in repackVectorDrawableAtlas()
376 thread.cacheManager().acquireVectorDrawableAtlas()->delayedReleaseEntries(); in releaseVDAtlasEntries()
DCanvasContext.cpp645 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in trimMemory()
649 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in trimMemory()
DEglManager.cpp144 mRenderThread.cacheManager().configureContext(&options); in initialize()
DVulkanManager.cpp113 mRenderThread.cacheManager().configureContext(&options); in initialize()