Revert "Drop max texture cache size from 12x to 5x"

Bug: 155002050
Test: Manual - scroll Pchome app

This reverts commit 05ac516412.

Reason for revert: When running Pchome, this change resulted in poor
performance while scrolling. Every frame appears to be uploading
several textures, potentially the same textures over and over again.

Change-Id: I0fc7216e16f783051d1bd87af764c1a6f361c138
This commit is contained in:
Leon Scroggins
2020-06-11 15:22:36 +00:00
committed by John Reck
parent 9e7a8c853c
commit 30d3678734

View File

@@ -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()