Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba72f9a2 authored by Stan Iliev's avatar Stan Iliev
Browse files

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
parent dc4cb146
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
    }