summaryrefslogtreecommitdiff
path: root/libs/hwui/pipeline/skia/ShaderCache.cpp
diff options
context:
space:
mode:
authorStan Iliev <stani@google.com>2018-01-09 15:59:35 -0500
committerStan Iliev <stani@google.com>2018-01-09 15:59:35 -0500
commitba72f9a288890c21817350e8d5eeb87fc4fd7583 (patch)
tree553363bb9c60926d88f48947a3115b42683fff61 /libs/hwui/pipeline/skia/ShaderCache.cpp
parentdc4cb146315240441fc8d9c05fe8dd63370a7c57 (diff)
Remove error log messages when skia shader cache is disabled
Ideally processes with a render thread, would turn on shader caching, but system_server is an exception. Test: checked logcat for ShaderCache not initialized messages Bug: 71718344 Change-Id: I5d4df6ae912a6fec3f019c9c831a1177937ea53b
Diffstat (limited to 'libs/hwui/pipeline/skia/ShaderCache.cpp')
-rw-r--r--libs/hwui/pipeline/skia/ShaderCache.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/hwui/pipeline/skia/ShaderCache.cpp b/libs/hwui/pipeline/skia/ShaderCache.cpp
index 87edd6968847..c7a30141803d 100644
--- a/libs/hwui/pipeline/skia/ShaderCache.cpp
+++ b/libs/hwui/pipeline/skia/ShaderCache.cpp
@@ -64,7 +64,6 @@ sk_sp<SkData> ShaderCache::load(const SkData& key) {
size_t keySize = key.size();
std::lock_guard<std::mutex> lock(mMutex);
if (!mInitialized) {
- ALOGE("ShaderCache::load not initialized");
return nullptr;
}
@@ -103,7 +102,6 @@ void ShaderCache::store(const SkData& key, const SkData& data) {
std::lock_guard<std::mutex> lock(mMutex);
if (!mInitialized) {
- ALOGE("ShaderCache::store not initialized");
return;
}