summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CacheManager.cpp
diff options
context:
space:
mode:
authorStan Iliev <stani@google.com>2017-11-14 13:42:42 -0500
committerStan Iliev <stani@google.com>2017-11-14 13:42:42 -0500
commit01b439475ccd965c37f4ae194c0dc284628c7635 (patch)
tree132c977762ac401f17573a272d40bd68cb1ea0cc /libs/hwui/renderthread/CacheManager.cpp
parentda701967e8470890bd801215c6c311249bb85a46 (diff)
Disable skia shader cache
Disable skia shader cache, which is causing image rendering issues. Test: Ran CNN app and images are OK. Bug: 69264347 Change-Id: Ie81f3398074f28ac1670333f1fd3c95267b2beb3
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
-rw-r--r--libs/hwui/renderthread/CacheManager.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/hwui/renderthread/CacheManager.cpp b/libs/hwui/renderthread/CacheManager.cpp
index c22364b4a569..a33b2874e7a5 100644
--- a/libs/hwui/renderthread/CacheManager.cpp
+++ b/libs/hwui/renderthread/CacheManager.cpp
@@ -18,7 +18,6 @@
#include "Layer.h"
#include "RenderThread.h"
-#include "pipeline/skia/ShaderCache.h"
#include "renderstate/RenderState.h"
#include <GrContextOptions.h>
@@ -128,8 +127,6 @@ void CacheManager::configureContext(GrContextOptions* contextOptions) {
}
contextOptions->fExecutor = mTaskProcessor.get();
}
-
- contextOptions->fPersistentCache = &skiapipeline::ShaderCache::get();
}
void CacheManager::trimMemory(TrimMemoryMode mode) {