diff options
author | Steven Laver <lavers@google.com> | 2019-05-08 06:18:42 -0700 |
---|---|---|
committer | Steven Laver <lavers@google.com> | 2019-05-08 06:18:42 -0700 |
commit | 4a30c150e58ec67edb92a7bec5ea48cebd6b90d4 (patch) | |
tree | 6d902794d7e59acd54f54ef235feb75becfb01e3 /libs/hwui/renderthread/CacheManager.h | |
parent | a6c7c402af360214e509d15980957e74fc673f42 (diff) | |
parent | e4f4eabc31685c001c2b46d8fa87b443f4af5b21 (diff) |
Merge QP1A.190501.001
Change-Id: I0f9f887d6a33702a6988709d8296731cfdb8f73d
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.h')
-rw-r--r-- | libs/hwui/renderthread/CacheManager.h | 9 |
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; |