Merge "Increase max shader cache size"
This commit is contained in:
@@ -33,7 +33,8 @@ namespace skiapipeline {
|
||||
// Cache size limits.
|
||||
static const size_t maxKeySize = 1024;
|
||||
static const size_t maxValueSize = 2 * 1024 * 1024;
|
||||
static const size_t maxTotalSize = 1024 * 1024;
|
||||
static const size_t maxTotalSize = 4 * 1024 * 1024;
|
||||
static_assert(maxKeySize + maxValueSize < maxTotalSize);
|
||||
|
||||
ShaderCache::ShaderCache() {
|
||||
// There is an "incomplete FileBlobCache type" compilation error, if ctor is moved to header.
|
||||
|
||||
Reference in New Issue
Block a user