#include <android_surface_software.h>
Public Member Functions | |
| AndroidSurfaceSoftware () | |
| ~AndroidSurfaceSoftware () override | |
| bool | IsValid () const override |
| bool | ResourceContextMakeCurrent () override |
| bool | ResourceContextClearCurrent () override |
| std::unique_ptr< Surface > | CreateGPUSurface (GrDirectContext *gr_context) override |
| void | TeardownOnScreenContext () override |
| bool | OnScreenSurfaceResize (const DlISize &size) override |
| bool | SetNativeWindow (fml::RefPtr< AndroidNativeWindow > window, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade) override |
| sk_sp< SkSurface > | AcquireBackingStore (const DlISize &size) override |
| Called when the GPU surface needs a new buffer to render a new frame into. | |
| bool | PresentBackingStore (sk_sp< SkSurface > backing_store) override |
| Called by the platform when a frame has been rendered into the backing store and the platform must display it on-screen. | |
Public Member Functions inherited from flutter::AndroidSurface | |
| virtual | ~AndroidSurface () |
| virtual std::unique_ptr< Surface > | CreateSnapshotSurface () |
| virtual std::shared_ptr< impeller::Context > | GetImpellerContext () |
| virtual void | SetupImpellerSurface () |
Public Member Functions inherited from flutter::GPUSurfaceSoftwareDelegate | |
| ~GPUSurfaceSoftwareDelegate () | |
Additional Inherited Members | |
Protected Member Functions inherited from flutter::AndroidSurface | |
| AndroidSurface () | |
Definition at line 19 of file android_surface_software.h.
| flutter::AndroidSurfaceSoftware::AndroidSurfaceSoftware | ( | ) |
Definition at line 43 of file android_surface_software.cc.
|
overridedefault |
|
overridevirtual |
Called when the GPU surface needs a new buffer to render a new frame into.
| [in] | size | The size of the frame. |
Implements flutter::GPUSurfaceSoftwareDelegate.
Definition at line 81 of file android_surface_software.cc.
References IsValid(), flutter::size, and TRACE_EVENT0.
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 63 of file android_surface_software.cc.
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 50 of file android_surface_software.cc.
Referenced by AcquireBackingStore(), CreateGPUSurface(), and PresentBackingStore().
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 149 of file android_surface_software.cc.
|
overridevirtual |
Called by the platform when a frame has been rendered into the backing store and the platform must display it on-screen.
| [in] | backing_store | The software backing store to present. |
Implements flutter::GPUSurfaceSoftwareDelegate.
Definition at line 104 of file android_surface_software.cc.
References alpha_type, color_type, IsValid(), and TRACE_EVENT0.
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 59 of file android_surface_software.cc.
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 54 of file android_surface_software.cc.
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 153 of file android_surface_software.cc.
References window.
|
overridevirtual |
Implements flutter::AndroidSurface.
Definition at line 147 of file android_surface_software.cc.