summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2020-06-16 19:32:59 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-06-16 19:32:59 +0000
commit556fe0b9e5c26ddb3181f4d55de4ac309d86c542 (patch)
tree75cac40b99d7ac1ae55b914a5cf826efbf91c1fc /libs
parent26dfdc587fcaef5f68187b6bf1343fd7e2914d32 (diff)
parent30d367873477c19e144206d38873471bc51414a8 (diff)
downloadbase-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.cpp2
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()