Home
last modified time | relevance | path

Searched refs:mMemoryPolicy (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DCacheManager.cpp45 : mRenderThread(thread), mMemoryPolicy(loadMemoryPolicy()) { in CacheManager()
47 mMemoryPolicy.initialMaxSurfaceAreaScale); in CacheManager()
62 mMaxResourceBytes = mMaxSurfaceArea * mMemoryPolicy.surfaceSizeMultiplier; in setupCacheLimits()
63 mBackgroundResourceBytes = mMaxResourceBytes * mMemoryPolicy.backgroundRetentionPercent; in setupCacheLimits()
71 mBackgroundCpuFontCacheBytes = mMaxCpuFontCacheBytes * mMemoryPolicy.backgroundRetentionPercent; in setupCacheLimits()
137 mGrContext->purgeUnlockedResources(toSkiaEnum(mMemoryPolicy.purgeScratchOnly)); in trimMemory()
194 mMemoryPolicy.surfaceSizeMultiplier, in dumpMemoryUsage()
195 mMemoryPolicy.backgroundRetentionPercent * 100.0f, in dumpMemoryUsage()
196 mMemoryPolicy.useAlternativeUiHidden ? "true" : "false"); in dumpMemoryUsage()
200 log.appendFormat(" GPU Context timeout: %" PRIu64 "\n", ns2s(mMemoryPolicy.contextTimeout)); in dumpMemoryUsage()
[all …]
DCacheManager.h84 const MemoryPolicy& mMemoryPolicy; variable
/frameworks/base/libs/hwui/platform/host/renderthread/
DCacheManager.cpp24 : mRenderThread(thread), mMemoryPolicy(loadMemoryPolicy()) {} in CacheManager()