diff options
author | John Reck <jreck@google.com> | 2020-06-16 20:30:37 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-06-16 20:30:37 +0000 |
commit | 3844f2a3859eeefa3a7b2d3f9b6d8428b7b33e03 (patch) | |
tree | b2629986c99d24bccbec326baf48452120b5b64d /libs/hwui/renderthread/CacheManager.cpp | |
parent | 77c5047aa654fe95ce61a2f35dce6baeb90dfdf9 (diff) | |
parent | aeae81a937459e25591097892e52fd099bc68112 (diff) |
Merge "Revert "Drop max texture cache size from 12x to 5x"" into rvc-dev am: 556fe0b9e5 am: 6bf4b6b216 am: aeae81a937
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838959
Change-Id: I8cb2361540838c936ffd8996e03086363b480f42
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
-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() |