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

Commit f04d9227 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Activate reduced shader mode in SkiaGlRenderEngine" into sc-dev am:...

Merge "Activate reduced shader mode in SkiaGlRenderEngine" into sc-dev am: a49a916e am: db412298

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14883582

Change-Id: Ie9648be5302f96cc31075271bb0a85f20f642e15
parents 42e769f7 db412298
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -316,6 +316,7 @@ SkiaGLRenderEngine::SkiaGLRenderEngine(const RenderEngineCreationArgs& args, EGL
    GrContextOptions options;
    options.fDisableDriverCorrectnessWorkarounds = true;
    options.fDisableDistanceFieldPaths = true;
    options.fReducedShaderVariations = true;
    options.fPersistentCache = &mSkSLCacheMonitor;
    mGrContext = GrDirectContext::MakeGL(glInterface, options);
    if (useProtectedContext(true)) {