[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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user