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

Commit a794deb3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Disable skia shader cache"

parents 761a64b6 01b43947
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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) {
+0 −2
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@

#include "RenderThread.h"

#include "pipeline/skia/ShaderCache.h"
#include "CanvasContext.h"
#include "EglManager.h"
#include "OpenGLReadback.h"
@@ -106,7 +105,6 @@ void RenderThread::initThreadLocals() {
    mRenderState = new RenderState(*this);
    mVkManager = new VulkanManager(*this);
    mCacheManager = new CacheManager(mDisplayInfo);
    uirenderer::skiapipeline::ShaderCache::get().initShaderDiskCache();
}

void RenderThread::dumpGraphicsMemory(int fd) {