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

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

Merge "Prefer ES 2.0 with external image support vs ES 3.0 without that support"

parents 0253c3f4 333a83c0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -189,6 +189,7 @@ void RenderThread::requireGlContext() {
    LOG_ALWAYS_FATAL_IF(!glInterface.get());

    GrContextOptions options;
    options.fPreferExternalImagesOverES3 = true;
    options.fDisableDistanceFieldPaths = true;
    cacheManager().configureContext(&options);
    sk_sp<GrContext> grContext(GrContext::MakeGL(std::move(glInterface), options));