Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp44 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/pipeline/skia/
DSkiaPipeline.cpp55 mRenderThread.cacheManager().trimStaleResources(); in onDestroyHardwareResources()
182 mRenderThread.cacheManager().dumpMemoryUsage(cachesOutput, in createOrUpdateLayer()
214 sp<VectorDrawableAtlas> atlas = mRenderThread.cacheManager().acquireVectorDrawableAtlas(); in renderVectorDrawableCache()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp214 cacheManager().configureContext(&options, glesVersion, size); in requireGlContext()
228 cacheManager().configureContext(&options, &vkDriverVersion, sizeof(vkDriverVersion)); in requireVkContext()
DRenderThread.h108 CacheManager& cacheManager() { return *mCacheManager; } in cacheManager() function
DRenderProxy.cpp377 thread.cacheManager().acquireVectorDrawableAtlas()->repackIfNeeded( in repackVectorDrawableAtlas()
388 thread.cacheManager().acquireVectorDrawableAtlas()->delayedReleaseEntries(); in releaseVDAtlasEntries()
DCanvasContext.cpp622 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in trimMemory()
625 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in trimMemory()