From da8a5107d99fb3f5170a0ab82379752f780eabe7 Mon Sep 17 00:00:00 2001 From: Stan Iliev Date: Thu, 24 Jan 2019 14:57:01 -0500 Subject: [PATCH] Increase ShaderCache max size to accomodate Vulkan pipeline cache Bug: 123311517 Test: Ran on device Change-Id: Id7127b391e44fb9661ad4eb847180dc3740abe0f --- libs/hwui/pipeline/skia/ShaderCache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/hwui/pipeline/skia/ShaderCache.cpp b/libs/hwui/pipeline/skia/ShaderCache.cpp index 1661905eff575..8508274676fdc 100644 --- a/libs/hwui/pipeline/skia/ShaderCache.cpp +++ b/libs/hwui/pipeline/skia/ShaderCache.cpp @@ -31,8 +31,8 @@ namespace skiapipeline { // Cache size limits. static const size_t maxKeySize = 1024; -static const size_t maxValueSize = 64 * 1024; -static const size_t maxTotalSize = 512 * 1024; +static const size_t maxValueSize = 512 * 1024; +static const size_t maxTotalSize = 1024 * 1024; ShaderCache::ShaderCache() { // There is an "incomplete FileBlobCache type" compilation error, if ctor is moved to header.