5#ifndef FLUTTER_SHELL_GPU_GPU_SURFACE_GL_DELEGATE_H_
6#define FLUTTER_SHELL_GPU_GPU_SURFACE_GL_DELEGATE_H_
10#include "flutter/common/graphics/gl_context_switch.h"
11#include "flutter/flow/embedded_views.h"
12#include "flutter/fml/macros.h"
virtual bool AllowsDrawingWhenGpuDisabled() const
virtual std::unique_ptr< GLContextResult > GLContextMakeCurrent()=0
std::function< void *(const char *)> GLProcResolver
static sk_sp< const GrGLInterface > GetDefaultPlatformGLInterface()
virtual bool GLContextClearCurrent()=0
virtual bool GLContextPresent(const GLPresentInfo &present_info)=0
virtual GLProcResolver GetGLProcResolver() const
virtual SkMatrix GLContextSurfaceTransformation() const
virtual sk_sp< const GrGLInterface > GetGLInterface() const
virtual bool GLContextFBOResetAfterPresent() const
virtual SurfaceFrame::FramebufferInfo GLContextFramebufferInfo() const
virtual GLFBOInfo GLContextFBO(GLFrameInfo frame_info) const =0
virtual void GLContextSetDamageRegion(const std::optional< SkIRect > ®ion)
Dart_NativeFunction function
ClipOpAndAA opAA SkRegion region
const std::optional< SkIRect > existing_damage
const std::optional< SkIRect > & frame_damage
std::optional< fml::TimePoint > presentation_time
const std::optional< SkIRect > & buffer_damage