#include <gpu_surface_software.h>
Public Member Functions | |
| GPUSurfaceSoftware (GPUSurfaceSoftwareDelegate *delegate, bool render_to_surface) | |
| ~GPUSurfaceSoftware () override | |
| bool | IsValid () override |
| std::unique_ptr< SurfaceFrame > | AcquireFrame (const DlISize &size) override |
| DlMatrix | GetRootTransformation () const override |
| GrDirectContext * | GetContext () override |
Public Member Functions inherited from flutter::Surface | |
| Surface () | |
| virtual | ~Surface () |
| virtual std::unique_ptr< GLContextResult > | MakeRenderContextCurrent () |
| virtual bool | ClearRenderContext () |
| virtual bool | AllowsDrawingWhenGpuDisabled () const |
| virtual bool | EnableRasterCache () const |
| virtual std::shared_ptr< impeller::AiksContext > | GetAiksContext () const |
| virtual SurfaceData | GetSurfaceData () const |
Definition at line 15 of file gpu_surface_software.h.
| flutter::GPUSurfaceSoftware::GPUSurfaceSoftware | ( | GPUSurfaceSoftwareDelegate * | delegate, |
| bool | render_to_surface | ||
| ) |
Definition at line 17 of file gpu_surface_software.cc.
|
overridedefault |
|
overridevirtual |
Implements flutter::Surface.
Definition at line 31 of file gpu_surface_software.cc.
References flutter::GPUSurfaceSoftwareDelegate::AcquireBackingStore(), impeller::TSize< T >::height, IsValid(), self, flutter::size, flutter::SurfaceFrame::FramebufferInfo::supports_readback, and impeller::TSize< T >::width.
|
overridevirtual |
Implements flutter::Surface.
Definition at line 104 of file gpu_surface_software.cc.
|
overridevirtual |
Implements flutter::Surface.
Definition at line 97 of file gpu_surface_software.cc.
|
overridevirtual |
Implements flutter::Surface.
Definition at line 26 of file gpu_surface_software.cc.
Referenced by AcquireFrame().