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

Commit 148d57b9 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:...

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

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

Change-Id: Iecc2bbaa659f5a8bbf28835aade69bd56d6513fc
parents bd856cf5 1b5d8a8b
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()