#include <gpu_surface_gl_delegate.h>
Public Types | |
| using | GLProcResolver = std::function< void *(const char *)> |
Public Member Functions | |
| ~GPUSurfaceGLDelegate () | |
| virtual std::unique_ptr< GLContextResult > | GLContextMakeCurrent ()=0 |
| virtual bool | GLContextClearCurrent ()=0 |
| virtual void | GLContextSetDamageRegion (const std::optional< DlIRect > ®ion) |
| virtual bool | GLContextPresent (const GLPresentInfo &present_info)=0 |
| virtual GLFBOInfo | GLContextFBO (GLFrameInfo frame_info) const =0 |
| virtual bool | GLContextFBOResetAfterPresent () const |
| virtual SurfaceFrame::FramebufferInfo | GLContextFramebufferInfo () const |
| virtual DlMatrix | GLContextSurfaceTransformation () const |
| virtual sk_sp< const GrGLInterface > | GetGLInterface () const |
| virtual GLProcResolver | GetGLProcResolver () const |
| virtual bool | AllowsDrawingWhenGpuDisabled () const |
Static Public Member Functions | |
| static sk_sp< const GrGLInterface > | GetDefaultPlatformGLInterface () |
Definition at line 55 of file gpu_surface_gl_delegate.h.
| using flutter::GPUSurfaceGLDelegate::GLProcResolver = std::function<void* (const char* )> |
Definition at line 100 of file gpu_surface_gl_delegate.h.
|
default |
|
virtual |
Definition at line 153 of file gpu_surface_gl_delegate.cc.
Referenced by flutter::GPUSurfaceGLSkia::AllowsDrawingWhenGpuDisabled().
|
static |
Definition at line 145 of file gpu_surface_gl_delegate.cc.
References flutter::CreateGLInterface().
|
virtual |
SLIMPELLER
Reimplemented in flutter::AndroidSurfaceGLImpeller, and flutter::AndroidSurfaceGLSkia.
Definition at line 136 of file gpu_surface_gl_delegate.cc.
References flutter::CreateGLInterface(), and GetGLProcResolver().
Referenced by flutter::AndroidSurfaceGLSkia::GetGLInterface(), and flutter::GPUSurfaceGLSkia::MakeGLContext().
|
virtual |
Definition at line 51 of file gpu_surface_gl_delegate.cc.
Referenced by GetGLInterface().
|
pure virtual |
|
pure virtual |
Implemented in flutter::AndroidSurfaceGLImpeller, flutter::AndroidSurfaceGLSkia, and flutter::AndroidSurfaceMock.
|
virtual |
Definition at line 36 of file gpu_surface_gl_delegate.cc.
|
virtual |
Reimplemented in flutter::AndroidSurfaceGLImpeller, and flutter::AndroidSurfaceGLSkia.
Definition at line 40 of file gpu_surface_gl_delegate.cc.
References flutter::SurfaceFrame::FramebufferInfo::supports_readback.
Referenced by flutter::GPUSurfaceGLSkia::AcquireFrame().
|
pure virtual |
Implemented in flutter::AndroidSurfaceGLImpeller, flutter::AndroidSurfaceGLSkia, and flutter::AndroidSurfaceMock.
Referenced by flutter::GPUSurfaceGLSkia::AcquireFrame(), flutter::GPUSurfaceGLSkia::GPUSurfaceGLSkia(), flutter::GPUSurfaceGLSkia::MakeGLContext(), flutter::GPUSurfaceGLSkia::MakeRenderContextCurrent(), and flutter::GPUSurfaceGLSkia::~GPUSurfaceGLSkia().
|
pure virtual |
Implemented in flutter::AndroidSurfaceGLImpeller, flutter::AndroidSurfaceGLSkia, and flutter::AndroidSurfaceMock.
|
inlinevirtual |
Reimplemented in flutter::AndroidSurfaceGLImpeller, and flutter::AndroidSurfaceGLSkia.
Definition at line 68 of file gpu_surface_gl_delegate.h.
|
virtual |
Definition at line 47 of file gpu_surface_gl_delegate.cc.
Referenced by flutter::GPUSurfaceGLSkia::GetRootTransformation().