#include <android_surface_gl_skia.h>
Public Member Functions | |
| AndroidSurfaceGLSkia (const std::shared_ptr< AndroidContextGLSkia > &android_context) | |
| ~AndroidSurfaceGLSkia () override | |
| bool | IsValid () const override |
| std::unique_ptr< Surface > | CreateGPUSurface (GrDirectContext *gr_context) override |
| void | TeardownOnScreenContext () override |
| bool | OnScreenSurfaceResize (const DlISize &size) override |
| bool | ResourceContextMakeCurrent () override |
| bool | ResourceContextClearCurrent () override |
| bool | SetNativeWindow (fml::RefPtr< AndroidNativeWindow > window, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade) override |
| virtual std::unique_ptr< Surface > | CreateSnapshotSurface () override |
| std::unique_ptr< GLContextResult > | GLContextMakeCurrent () override |
| bool | GLContextClearCurrent () override |
| SurfaceFrame::FramebufferInfo | GLContextFramebufferInfo () const override |
| void | GLContextSetDamageRegion (const std::optional< DlIRect > ®ion) override |
| bool | GLContextPresent (const GLPresentInfo &present_info) override |
| GLFBOInfo | GLContextFBO (GLFrameInfo frame_info) const override |
| sk_sp< const GrGLInterface > | GetGLInterface () const override |
| AndroidEGLSurface * | GetOnscreenSurface () const |
Public Member Functions inherited from flutter::GPUSurfaceGLDelegate | |
| ~GPUSurfaceGLDelegate () | |
| virtual bool | GLContextFBOResetAfterPresent () const |
| virtual DlMatrix | GLContextSurfaceTransformation () const |
| virtual GLProcResolver | GetGLProcResolver () const |
| virtual bool | AllowsDrawingWhenGpuDisabled () const |
Public Member Functions inherited from flutter::AndroidSurface | |
| virtual | ~AndroidSurface () |
| virtual std::shared_ptr< impeller::Context > | GetImpellerContext () |
| virtual void | SetupImpellerSurface () |
Additional Inherited Members | |
Public Types inherited from flutter::GPUSurfaceGLDelegate | |
| using | GLProcResolver = std::function< void *(const char *)> |
Static Public Member Functions inherited from flutter::GPUSurfaceGLDelegate | |
| static sk_sp< const GrGLInterface > | GetDefaultPlatformGLInterface () |
Protected Member Functions inherited from flutter::AndroidSurface | |
| AndroidSurface () | |
Definition at line 21 of file android_surface_gl_skia.h.
|
explicit |
Definition at line 23 of file android_surface_gl_skia.cc.
|
overridedefault |
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 50 of file android_surface_gl_skia.cc.
References flutter::GPUSurfaceGLSkia::MakeGLContext().
|
overridevirtual |
Reimplemented from flutter::AndroidSurface.
Definition at line 207 of file android_surface_gl_skia.cc.
References flutter::GPUSurfaceGLSkia::MakeGLContext().
|
overridevirtual |
Reimplemented from flutter::GPUSurfaceGLDelegate.
Definition at line 175 of file android_surface_gl_skia.cc.
References FML_DCHECK, and flutter::GPUSurfaceGLDelegate::GetGLInterface().
|
inline |
Definition at line 81 of file android_surface_gl_skia.h.
|
overridevirtual |
Implements flutter::GPUSurfaceGLDelegate.
Definition at line 128 of file android_surface_gl_skia.cc.
References FML_DCHECK, and IsValid().
|
overridevirtual |
Implements flutter::GPUSurfaceGLDelegate.
Definition at line 165 of file android_surface_gl_skia.cc.
References flutter::GLFBOInfo::fbo_id, FML_DCHECK, and IsValid().
|
overridevirtual |
Reimplemented from flutter::GPUSurfaceGLDelegate.
Definition at line 133 of file android_surface_gl_skia.cc.
References flutter::SurfaceFrame::FramebufferInfo::existing_damage, FML_DCHECK, flutter::SurfaceFrame::FramebufferInfo::horizontal_clip_alignment, IsValid(), flutter::SurfaceFrame::FramebufferInfo::supports_partial_repaint, flutter::SurfaceFrame::FramebufferInfo::supports_readback, and flutter::SurfaceFrame::FramebufferInfo::vertical_clip_alignment.
|
overridevirtual |
Implements flutter::GPUSurfaceGLDelegate.
Definition at line 119 of file android_surface_gl_skia.cc.
References FML_DCHECK, IsValid(), and flutter::kFailure.
|
overridevirtual |
Implements flutter::GPUSurfaceGLDelegate.
Definition at line 156 of file android_surface_gl_skia.cc.
References FML_DCHECK, flutter::GLPresentInfo::frame_damage, IsValid(), and flutter::GLPresentInfo::presentation_time.
|
overridevirtual |
Reimplemented from flutter::GPUSurfaceGLDelegate.
Definition at line 150 of file android_surface_gl_skia.cc.
References FML_DCHECK, and IsValid().
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 46 of file android_surface_gl_skia.cc.
Referenced by GLContextClearCurrent(), GLContextFBO(), GLContextFramebufferInfo(), GLContextMakeCurrent(), GLContextPresent(), GLContextSetDamageRegion(), OnScreenSurfaceResize(), ResourceContextClearCurrent(), ResourceContextMakeCurrent(), and SetNativeWindow().
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 66 of file android_surface_gl_skia.cc.
References FML_DCHECK, FML_LOG, IsValid(), and flutter::size.
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 95 of file android_surface_gl_skia.cc.
References FML_DCHECK, and IsValid().
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 89 of file android_surface_gl_skia.cc.
References FML_DCHECK, IsValid(), and flutter::kFailure.
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 102 of file android_surface_gl_skia.cc.
References FML_DCHECK, IsValid(), and window.
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 38 of file android_surface_gl_skia.cc.