#include <dl_test_surface_instance_skia.h>
Public Member Functions | |
| DlSurfaceInstanceSkia (sk_sp< SkSurface > surface) | |
| ~DlSurfaceInstanceSkia () | |
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 57 of file dl_test_surface_instance_skia.h.
|
explicit |
Definition at line 103 of file dl_test_surface_instance_skia.cc.
References surface.
|
default |
|
overrideprotectedvirtual |
Implements flutter::testing::DlSurfaceInstanceSkiaBase.
Definition at line 180 of file dl_test_surface_instance_skia.cc.