Loading libs/hwui/pipeline/skia/ShaderCache.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -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. Loading Loading
libs/hwui/pipeline/skia/ShaderCache.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -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. Loading