Flutter Engine
The Flutter Engine
|
#include <gpu_surface_metal_skia.h>
Public Member Functions | |
GPUSurfaceMetalSkia (GPUSurfaceMetalDelegate *delegate, sk_sp< GrDirectContext > context, bool render_to_surface=true) | |
~GPUSurfaceMetalSkia () | |
bool | IsValid () override |
Public Member Functions inherited from flutter::Surface | |
Surface () | |
virtual | ~Surface () |
virtual bool | IsValid ()=0 |
virtual std::unique_ptr< SurfaceFrame > | AcquireFrame (const SkISize &size)=0 |
virtual SkMatrix | GetRootTransformation () const =0 |
virtual GrDirectContext * | GetContext ()=0 |
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 17 of file gpu_surface_metal_skia.h.
flutter::GPUSurfaceMetalSkia::GPUSurfaceMetalSkia | ( | GPUSurfaceMetalDelegate * | delegate, |
sk_sp< GrDirectContext > | context, | ||
bool | render_to_surface = true |
||
) |
Definition at line 59 of file gpu_surface_metal_skia.mm.
|
default |
|
overridevirtual |
Implements flutter::Surface.
Definition at line 77 of file gpu_surface_metal_skia.mm.