summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CacheManager.cpp
diff options
context:
space:
mode:
authorStan Iliev <stani@google.com>2018-07-03 14:47:59 -0400
committerStan Iliev <stani@google.com>2018-07-03 19:50:06 +0000
commit5d0334843698d6ec88bf74305baf85f1ef855f9d (patch)
tree3ca6da6d3b059421cd8bdf08cd6b0496a0ec91c3 /libs/hwui/renderthread/CacheManager.cpp
parent05329bb46a36cbb568c93da810ce07d917a21a7a (diff)
Fix path rendering issues
Fix remaining battery icon. Disable CCPR, which seems to have caused a regression. Test: Ran SystemUI and battery icon is drawn white. Bug: skbug.com/8127 Change-Id: Ic82bce14b760a8889ea2261c44b2631dc755288f
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
-rw-r--r--libs/hwui/renderthread/CacheManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/CacheManager.cpp b/libs/hwui/renderthread/CacheManager.cpp
index b07fb2d7ae0f..bec80b1e6011 100644
--- a/libs/hwui/renderthread/CacheManager.cpp
+++ b/libs/hwui/renderthread/CacheManager.cpp
@@ -134,6 +134,7 @@ void CacheManager::configureContext(GrContextOptions* contextOptions) {
}
contextOptions->fPersistentCache = &skiapipeline::ShaderCache::get();
+ contextOptions->fGpuPathRenderers &= ~GpuPathRenderers::kCoverageCounting;
}
void CacheManager::trimMemory(TrimMemoryMode mode) {