5#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SURFACE_GL_H_
6#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SURFACE_GL_H_
8#include "flutter/fml/macros.h"
9#include "flutter/shell/gpu/gpu_surface_gl_skia.h"
10#include "flutter/shell/platform/embedder/embedder_external_view_embedder.h"
11#include "flutter/shell/platform/embedder/embedder_surface.h"
32 bool fbo_reset_after_present,
33 std::shared_ptr<EmbedderExternalViewEmbedder> external_view_embedder);
40 bool fbo_reset_after_present_;
42 std::shared_ptr<EmbedderExternalViewEmbedder> external_view_embedder_;
~EmbedderSurfaceGL() override
GLProcResolver GetGLProcResolver() const override
bool GLContextPresent(const GLPresentInfo &present_info) override
SkMatrix GLContextSurfaceTransformation() const override
GLFBOInfo GLContextFBO(GLFrameInfo frame_info) const override
std::unique_ptr< GLContextResult > GLContextMakeCurrent() override
sk_sp< GrDirectContext > CreateResourceContext() const override
bool IsValid() const override
SurfaceFrame::FramebufferInfo GLContextFramebufferInfo() const override
bool GLContextFBOResetAfterPresent() const override
bool GLContextClearCurrent() override
std::unique_ptr< Surface > CreateGPUSurface() override
std::function< void *(const char *)> GLProcResolver
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
std::function< bool(GLPresentInfo)> gl_present_callback
std::function< bool(void)> gl_clear_current_callback
std::function< void *(const char *)> gl_proc_resolver
std::function< bool(void)> gl_make_resource_current_callback
std::function< bool(void)> gl_make_current_callback
std::function< intptr_t(GLFrameInfo)> gl_fbo_callback
std::function< SkMatrix(void)> gl_surface_transformation_callback
std::function< GLFBOInfo(intptr_t)> gl_populate_existing_damage