5#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_SURFACE_GL_SKIA_H_
6#define FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_SURFACE_GL_SKIA_H_
12#include "flutter/fml/macros.h"
13#include "flutter/shell/gpu/gpu_surface_gl_skia.h"
14#include "flutter/shell/platform/android/android_context_gl_skia.h"
15#include "flutter/shell/platform/android/android_environment_gl.h"
16#include "flutter/shell/platform/android/jni/platform_view_android_jni.h"
17#include "flutter/shell/platform/android/surface/android_surface.h"
25 const std::shared_ptr<AndroidContextGLSkia>& android_context);
80 return onscreen_surface_.get();
84 std::shared_ptr<AndroidContextGLSkia> android_context_;
86 std::unique_ptr<AndroidEGLSurface> onscreen_surface_;
87 std::unique_ptr<AndroidEGLSurface> offscreen_surface_;
AndroidEGLSurface * GetOnscreenSurface() const
bool GLContextPresent(const GLPresentInfo &present_info) override
std::unique_ptr< Surface > CreateGPUSurface(GrDirectContext *gr_context) override
bool ResourceContextMakeCurrent() override
bool OnScreenSurfaceResize(const SkISize &size) override
void GLContextSetDamageRegion(const std::optional< SkIRect > ®ion) override
virtual std::unique_ptr< Surface > CreateSnapshotSurface() override
bool GLContextClearCurrent() override
sk_sp< const GrGLInterface > GetGLInterface() const override
bool SetNativeWindow(fml::RefPtr< AndroidNativeWindow > window) override
bool ResourceContextClearCurrent() override
AndroidSurfaceGLSkia(const std::shared_ptr< AndroidContextGLSkia > &android_context)
void TeardownOnScreenContext() override
bool IsValid() const override
std::unique_ptr< GLContextResult > GLContextMakeCurrent() override
SurfaceFrame::FramebufferInfo GLContextFramebufferInfo() const override
GLFBOInfo GLContextFBO(GLFrameInfo frame_info) const override
~AndroidSurfaceGLSkia() override
ClipOpAndAA opAA SkRegion region
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size