[fuchsia] Adjust Skia GPU resource cache size (flutter/engine#17798)

16 MiB -> 28 MiB

Same size as what would be used on a 1024x600 display if we
allowed the common engine code to adjust this.

Co-authored-by: David Reveman <reveman@google.com>
This commit is contained in:
David Reveman
2020-04-20 13:07:28 -04:00
committed by GitHub
parent b291b99aa9
commit 7ae25c916d

View File

@@ -32,7 +32,7 @@ constexpr int kGrCacheMaxCount = 8192;
// "SkiaCacheBytes" field in the ("flutter", "SurfacePool") trace counter
// (compare it to the bytes value here)
// then you should consider increasing the size of the GPU resource cache.
constexpr size_t kGrCacheMaxByteSize = 16 * (1 << 20);
constexpr size_t kGrCacheMaxByteSize = 1024 * 600 * 12 * 4;
} // namespace