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

Commit b5164131 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: 6bf4b6b2 am: aeae81a9 am: 3844f2a3

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

Change-Id: I7f9db598d3051993c1fc58b35ffd2d84527842ad
parents 0cede2ba 3844f2a3
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()