Searched refs:mMaxResourceBytes (Results 1 – 2 of 2) sorted by relevance
79 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()
54 size_t getCacheSize() const { return mMaxResourceBytes; } in getCacheSize()72 size_t mMaxResourceBytes = 0; variable