Searched refs:mMemoryPolicy (Results 1 – 3 of 3) sorted by relevance
45 : 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 …]
84 const MemoryPolicy& mMemoryPolicy; variable
24 : mRenderThread(thread), mMemoryPolicy(loadMemoryPolicy()) {} in CacheManager()