Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b5d8a8b authored by John Reck's avatar John Reck Committed by Automerger Merge Worker
Browse files

Merge "Revert "Drop max texture cache size from 12x to 5x"" into rvc-dev am: 556fe0b9

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838959

Change-Id: I13cb63c3d7ac562aab5798340c960b1e0049ec3b
parents 69a7a599 556fe0b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()