summaryrefslogtreecommitdiff
path: root/libs/hwui/pipeline/skia/ShaderCache.cpp
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2021-06-07 16:09:37 -0400
committerLeon Scroggins III <scroggo@google.com>2021-06-07 16:13:13 -0400
commit05f5ecaa7ab4d59206d0c75503a6b9b85dc8ef4b (patch)
treea95608c278d7a159ff32f4d15f609b9a981ee92e /libs/hwui/pipeline/skia/ShaderCache.cpp
parent3b8007a26c4d476f0daa1e17ebee4a25cf9b958e (diff)
Increase the persistent storage size for SkSL Shaders
Fixes: 190348616 Test: builds We're now using more complex shaders in more places. This allows us to store more of them. Change-Id: I1be3da0458c4b64f7082a2e1bc0d08b0824bbeba
Diffstat (limited to 'libs/hwui/pipeline/skia/ShaderCache.cpp')
-rw-r--r--libs/hwui/pipeline/skia/ShaderCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/pipeline/skia/ShaderCache.cpp b/libs/hwui/pipeline/skia/ShaderCache.cpp
index c482fc156e8b..e7432ac5f216 100644
--- a/libs/hwui/pipeline/skia/ShaderCache.cpp
+++ b/libs/hwui/pipeline/skia/ShaderCache.cpp
@@ -31,7 +31,7 @@ namespace skiapipeline {
// Cache size limits.
static const size_t maxKeySize = 1024;
-static const size_t maxValueSize = 512 * 1024;
+static const size_t maxValueSize = 2 * 1024 * 1024;
static const size_t maxTotalSize = 1024 * 1024;
ShaderCache::ShaderCache() {