|
| | MOCK_METHOD (bool, IsValid,(),(const, override)) |
| |
| | MOCK_METHOD (void, TeardownOnScreenContext,(),(override)) |
| |
| | MOCK_METHOD (std::unique_ptr< Surface >, CreateGPUSurface,(GrDirectContext *gr_context),(override)) |
| |
| | MOCK_METHOD (bool, OnScreenSurfaceResize,(const DlISize &size),(override)) |
| |
| | MOCK_METHOD (bool, ResourceContextMakeCurrent,(),(override)) |
| |
| | MOCK_METHOD (bool, ResourceContextClearCurrent,(),(override)) |
| |
| | MOCK_METHOD (bool, SetNativeWindow,(fml::RefPtr< AndroidNativeWindow > window, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade),(override)) |
| |
| std::unique_ptr< GLContextResult > | GLContextMakeCurrent () override |
| |
| bool | GLContextClearCurrent () override |
| |
| bool | GLContextPresent (const GLPresentInfo &present_info) override |
| |
| GLFBOInfo | GLContextFBO (GLFrameInfo frame_info) const override |
| |
| | ~GPUSurfaceGLDelegate () |
| |
| virtual void | GLContextSetDamageRegion (const std::optional< DlIRect > ®ion) |
| |
| 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 |
| |
Public Member Functions inherited from flutter::AndroidSurface |
| virtual | ~AndroidSurface () |
| |
| virtual bool | IsValid () const =0 |
| |
| virtual void | TeardownOnScreenContext ()=0 |
| |
| virtual std::unique_ptr< Surface > | CreateGPUSurface (GrDirectContext *gr_context=nullptr)=0 |
| |
| virtual bool | OnScreenSurfaceResize (const DlISize &size)=0 |
| |
| virtual bool | ResourceContextMakeCurrent ()=0 |
| |
| virtual bool | ResourceContextClearCurrent ()=0 |
| |
| virtual bool | SetNativeWindow (fml::RefPtr< AndroidNativeWindow > window, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade)=0 |
| |
| virtual std::unique_ptr< Surface > | CreateSnapshotSurface () |
| |
| virtual std::shared_ptr< impeller::Context > | GetImpellerContext () |
| |
| virtual void | SetupImpellerSurface () |
| |
Mock for |AndroidSurface|. This implementation can be used in unit tests without requiring the Android toolchain.
Definition at line 18 of file android_surface_mock.h.