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

Commit af4a7407 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: I86d505c5ad74e049e3d8f5a893b8a00140ef10dd
parents a4fa31dc 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()