#include <snapshot_controller_skia.h>
Public Member Functions | |
| SnapshotControllerSkia (const SnapshotController::Delegate &delegate) | |
| void | MakeRasterSnapshot (sk_sp< DisplayList > display_list, DlISize picture_size, std::function< void(const sk_sp< DlImage > &)> callback) override |
| sk_sp< DlImage > | MakeRasterSnapshotSync (sk_sp< DisplayList > display_list, DlISize size) override |
| virtual sk_sp< SkImage > | ConvertToRasterImage (sk_sp< SkImage > image) override |
| void | CacheRuntimeStage (const std::shared_ptr< impeller::RuntimeStage > &runtime_stage) override |
| bool | MakeRenderContextCurrent () override |
Public Member Functions inherited from flutter::SnapshotController | |
| virtual | ~SnapshotController ()=default |
Additional Inherited Members | |
Static Public Member Functions inherited from flutter::SnapshotController | |
| static std::unique_ptr< SnapshotController > | Make (const Delegate &delegate, const Settings &settings) |
Protected Member Functions inherited from flutter::SnapshotController | |
| SnapshotController (const Delegate &delegate) | |
| const Delegate & | GetDelegate () |
Definition at line 15 of file snapshot_controller_skia.h.
|
inlineexplicit |
Definition at line 17 of file snapshot_controller_skia.h.
|
overridevirtual |
Implements flutter::SnapshotController.
Definition at line 172 of file snapshot_controller_skia.cc.
|
overridevirtual |
Implements flutter::SnapshotController.
Definition at line 149 of file snapshot_controller_skia.cc.
References flutter::SnapshotController::GetDelegate(), image, and flutter::ToDlISize().
|
overridevirtual |
Implements flutter::SnapshotController.
Definition at line 54 of file snapshot_controller_skia.cc.
References callback, and MakeRasterSnapshotSync().
|
overridevirtual |
Implements flutter::SnapshotController.
Definition at line 141 of file snapshot_controller_skia.cc.
References flutter::DlSkCanvasAdapter::DrawDisplayList(), and flutter::size.
Referenced by MakeRasterSnapshot().
|
overridevirtual |
Implements flutter::SnapshotController.
Definition at line 175 of file snapshot_controller_skia.cc.
References FML_UNREACHABLE.