#include <snapshot_controller.h>
Definition at line 21 of file snapshot_controller.h.
◆ ~SnapshotController()
| virtual flutter::SnapshotController::~SnapshotController |
( |
| ) |
|
|
virtualdefault |
◆ SnapshotController()
| flutter::SnapshotController::SnapshotController |
( |
const Delegate & |
delegate | ) |
|
|
explicitprotected |
◆ CacheRuntimeStage()
| virtual void flutter::SnapshotController::CacheRuntimeStage |
( |
const std::shared_ptr< impeller::RuntimeStage > & |
runtime_stage | ) |
|
|
pure virtual |
◆ ConvertToRasterImage()
| virtual sk_sp< SkImage > flutter::SnapshotController::ConvertToRasterImage |
( |
sk_sp< SkImage > |
image | ) |
|
|
pure virtual |
◆ GetDelegate()
| const Delegate & flutter::SnapshotController::GetDelegate |
( |
| ) |
|
|
inlineprotected |
◆ Make()
Definition at line 15 of file snapshot_controller.cc.
17 {
18#if IMPELLER_SUPPORTS_RENDERING
19 if (settings.enable_impeller) {
20 return std::make_unique<SnapshotControllerImpeller>(delegate);
21 }
22#endif
23#if !SLIMPELLER
24 return std::make_unique<SnapshotControllerSkia>(delegate);
25#else
27 << "Cannot create a Skia snapshot controller in an Impeller build.";
28 return nullptr;
29#endif
30}
#define FML_LOG(severity)
References flutter::Settings::enable_impeller, and FML_LOG.
◆ MakeRasterSnapshot()
| virtual void flutter::SnapshotController::MakeRasterSnapshot |
( |
sk_sp< DisplayList > |
display_list, |
|
|
DlISize |
picture_size, |
|
|
std::function< void(const sk_sp< DlImage > &)> |
callback |
|
) |
| |
|
pure virtual |
◆ MakeRasterSnapshotSync()
| virtual sk_sp< DlImage > flutter::SnapshotController::MakeRasterSnapshotSync |
( |
sk_sp< DisplayList > |
display_list, |
|
|
DlISize |
picture_size |
|
) |
| |
|
pure virtual |
◆ MakeRenderContextCurrent()
| virtual bool flutter::SnapshotController::MakeRenderContextCurrent |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: