summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CacheManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.h')
-rw-r--r--libs/hwui/renderthread/CacheManager.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/libs/hwui/renderthread/CacheManager.h b/libs/hwui/renderthread/CacheManager.h
index b0286e8cde25..9a5a00fcf762 100644
--- a/libs/hwui/renderthread/CacheManager.h
+++ b/libs/hwui/renderthread/CacheManager.h
@@ -59,14 +59,17 @@ private:
void reset(sk_sp<GrContext> grContext);
void destroy();
- void updateContextCacheSizes();
const size_t mMaxSurfaceArea;
sk_sp<GrContext> mGrContext;
int mMaxResources = 0;
- size_t mMaxResourceBytes = 0;
- size_t mBackgroundResourceBytes = 0;
+ const size_t mMaxResourceBytes;
+ const size_t mBackgroundResourceBytes;
+
+ const size_t mMaxGpuFontAtlasBytes;
+ const size_t mMaxCpuFontCacheBytes;
+ const size_t mBackgroundCpuFontCacheBytes;
struct PipelineProps {
const void* pipelineKey = nullptr;