Public Member Functions | |
| DlMetalSurfaceInstance (std::unique_ptr< TestMetalSurface > metal_surface) | |
| ~DlMetalSurfaceInstance ()=default | |
Public Member Functions inherited from flutter::testing::DlSurfaceInstanceSkiaBase | |
| void | Clear (const DlColor &color) override |
| Clear the entire surface to the indicated color. | |
| DlCanvas * | GetCanvas () override |
| void | RenderDisplayList (const sk_sp< DisplayList > &display_list) override |
| void | FlushSubmitCpuSync () override |
| std::unique_ptr< DlPixelData > | SnapshotToPixelData () const override |
| sk_sp< DlImage > | SnapshotToImage () const override |
| bool | SnapshotToFile (std::string &filename) const override |
| Store a snapshot of this Surface to the file indicated by the filename. | |
| int | width () const override |
| The width of the underlying surface. | |
| int | height () const override |
| The height of the underlying surface. | |
| sk_sp< SkSurface > | sk_surface () override |
Public Member Functions inherited from flutter::testing::DlSurfaceInstance | |
| virtual | ~DlSurfaceInstance ()=default |
| DlISize | GetSize () const |
| The size of the underlying surface. | |
Protected Member Functions | |
| sk_sp< SkSurface > | GetSurface () const override |
Protected Member Functions inherited from flutter::testing::DlSurfaceInstanceSkiaBase | |
| DlSurfaceInstanceSkiaBase () | |
| virtual | ~DlSurfaceInstanceSkiaBase () |
Definition at line 21 of file dl_test_surface_provider_skia_metal.mm.
|
inlineexplicit |
Definition at line 23 of file dl_test_surface_provider_skia_metal.mm.
|
default |
|
inlineoverrideprotectedvirtual |
Implements flutter::testing::DlSurfaceInstanceSkiaBase.
Definition at line 28 of file dl_test_surface_provider_skia_metal.mm.