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

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

Merge "Make an Android-specific copy of Skia's Null GL interface"

parents e0be81a9 8e874bb8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -101,6 +101,7 @@ cc_defaults {
        "debug/GlesDriver.cpp",
        "debug/FatalBaseDriver.cpp",
        "debug/NullGlesDriver.cpp",
        "debug/NullSkiaInterface.cpp",
    ],
    include_dirs: ["frameworks/native/opengl/libs/GLES2"],
}
+3 −1
Original line number Diff line number Diff line
@@ -20,8 +20,10 @@ namespace android {
namespace uirenderer {
namespace debug {

extern const GrGLInterface* CreateNullSkiaInterface();

sk_sp<const GrGLInterface> NullGlesDriver::getSkiaInterface() {
    sk_sp<const GrGLInterface> skiaInterface(GrGLCreateNullInterface());
    sk_sp<const GrGLInterface> skiaInterface(CreateNullSkiaInterface());
    return skiaInterface;
}

+852 −0

File added.

Preview size limit exceeded, changes collapsed.