diff options
author | John Reck <jreck@google.com> | 2020-06-16 19:32:59 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-06-16 19:32:59 +0000 |
commit | 556fe0b9e5c26ddb3181f4d55de4ac309d86c542 (patch) | |
tree | 75cac40b99d7ac1ae55b914a5cf826efbf91c1fc /libs | |
parent | 26dfdc587fcaef5f68187b6bf1343fd7e2914d32 (diff) | |
parent | 30d367873477c19e144206d38873471bc51414a8 (diff) | |
download | base-556fe0b9e5c26ddb3181f4d55de4ac309d86c542.tar.gz |
Merge "Revert "Drop max texture cache size from 12x to 5x"" into rvc-dev
Diffstat (limited to 'libs')
-rw-r--r-- | libs/hwui/renderthread/CacheManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/CacheManager.cpp b/libs/hwui/renderthread/CacheManager.cpp index d177855e5a7d..1e5877356e8d 100644 --- a/libs/hwui/renderthread/CacheManager.cpp +++ b/libs/hwui/renderthread/CacheManager.cpp @@ -42,7 +42,7 @@ namespace renderthread { // to the screen resolution. This is meant to be a conservative default based on // that analysis. The 4.0f is used because the default pixel format is assumed to // be ARGB_8888. -#define SURFACE_SIZE_MULTIPLIER (5.0f * 4.0f) +#define SURFACE_SIZE_MULTIPLIER (12.0f * 4.0f) #define BACKGROUND_RETENTION_PERCENTAGE (0.5f) CacheManager::CacheManager() |