Home
last modified time | relevance | path

Searched refs:mMaxResourceBytes (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DCacheManager.cpp79 mMaxResourceBytes = mMaxSurfaceArea * SURFACE_SIZE_MULTIPLIER; in updateContextCacheSizes()
80 mBackgroundResourceBytes = mMaxResourceBytes * BACKGROUND_RETENTION_PERCENTAGE; in updateContextCacheSizes()
82 mGrContext->setResourceCacheLimits(mMaxResources, mMaxResourceBytes); in updateContextCacheSizes()
159 mGrContext->setResourceCacheLimits(mMaxResources, mMaxResourceBytes); in trimMemory()
DCacheManager.h54 size_t getCacheSize() const { return mMaxResourceBytes; } in getCacheSize()
72 size_t mMaxResourceBytes = 0; variable