|
| 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 SkISize &size),(override)) |
|
| MOCK_METHOD (bool, ResourceContextMakeCurrent,(),(override)) |
|
| MOCK_METHOD (bool, ResourceContextClearCurrent,(),(override)) |
|
| MOCK_METHOD (bool, SetNativeWindow,(fml::RefPtr< AndroidNativeWindow > window),(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 std::unique_ptr< GLContextResult > | GLContextMakeCurrent ()=0 |
|
virtual bool | GLContextClearCurrent ()=0 |
|
virtual void | GLContextSetDamageRegion (const std::optional< SkIRect > ®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 SkMatrix | 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 SkISize &size)=0 |
|
virtual bool | ResourceContextMakeCurrent ()=0 |
|
virtual bool | ResourceContextClearCurrent ()=0 |
|
virtual bool | SetNativeWindow (fml::RefPtr< AndroidNativeWindow > window)=0 |
|
virtual std::unique_ptr< Surface > | CreateSnapshotSurface () |
|
virtual std::shared_ptr< impeller::Context > | GetImpellerContext () |
|
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.