#include <snapshot_controller_impeller.h>
Public Member Functions | |
| SnapshotControllerImpeller (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 picture_size) override |
| sk_sp< SkImage > | ConvertToRasterImage (sk_sp< SkImage > image) override |
| void | CacheRuntimeStage (const std::shared_ptr< impeller::RuntimeStage > &runtime_stage) override |
| virtual 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 13 of file snapshot_controller_impeller.h.
|
inlineexplicit |
Definition at line 15 of file snapshot_controller_impeller.h.
|
overridevirtual |
Implements flutter::SnapshotController.
Definition at line 147 of file snapshot_controller_impeller.cc.
References impeller::RuntimeEffectContents::BootstrapShader(), flutter::SnapshotController::Delegate::GetAiksContext(), flutter::SnapshotController::GetDelegate(), and impeller::RuntimeEffectContents::SetRuntimeStage().
|
overridevirtual |
Implements flutter::SnapshotController.
Definition at line 161 of file snapshot_controller_impeller.cc.
References FML_UNREACHABLE.
|
overridevirtual |
Implements flutter::SnapshotController.
Definition at line 97 of file snapshot_controller_impeller.cc.
References callback, flutter::SnapshotController::Delegate::GetAiksContext(), flutter::SnapshotController::GetDelegate(), flutter::SnapshotController::Delegate::GetIsGpuDisabledSyncSwitch(), flutter::DlImage::kRaster, and impeller::DlImageImpeller::Make().
|
overridevirtual |
Implements flutter::SnapshotController.
Definition at line 141 of file snapshot_controller_impeller.cc.
References flutter::SnapshotController::GetDelegate().
|
overridevirtual |
Implements flutter::SnapshotController.
Definition at line 166 of file snapshot_controller_impeller.cc.
References flutter::SnapshotController::GetDelegate(), flutter::SnapshotController::Delegate::GetSurface(), and surface.