summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2020-06-16 19:47:27 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-06-16 19:47:27 +0000
commit6bf4b6b2161e73ffd7a2460c774415cca1bbf310 (patch)
tree03a66b77c95e7d02da3eb03fb733f50b63adb653
parentadd19fc22222ae84450bacd90779d515ca408282 (diff)
parent556fe0b9e5c26ddb3181f4d55de4ac309d86c542 (diff)
Merge "Revert "Drop max texture cache size from 12x to 5x"" into rvc-dev am: 556fe0b9e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838959 Change-Id: I656f9bf0e04ed46c3e65dfd49fb0caa19b658b1e
-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()