#include <snapshot_controller_skia.h>
Definition at line 15 of file snapshot_controller_skia.h.
◆ SnapshotControllerSkia()
◆ CacheRuntimeStage()
void flutter::SnapshotControllerSkia::CacheRuntimeStage |
( |
const std::shared_ptr< impeller::RuntimeStage > & |
runtime_stage | ) |
|
|
overridevirtual |
◆ ConvertToRasterImage()
Implements flutter::SnapshotController.
Definition at line 149 of file snapshot_controller_skia.cc.
150 {
151
152
153
156 return nullptr;
157 }
158
159 if (
image ==
nullptr) {
160 return nullptr;
161 }
162
164
165 auto result = DoMakeRasterSnapshot(
168 });
169 return result->skia_image();
170}
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
SkISize dimensions() const
const Delegate & GetDelegate()
SK_API GrDirectContext * GetContext(const SkImage *src)
sk_sp< const SkImage > image
◆ MakeRasterSnapshot()
◆ MakeRasterSnapshotSync()
Implements flutter::SnapshotController.
Definition at line 141 of file snapshot_controller_skia.cc.
143 {
144 return DoMakeRasterSnapshot(
size, [display_list](
SkCanvas* canvas) {
145 DlSkCanvasAdapter(canvas).DrawDisplayList(display_list);
146 });
147}
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
The documentation for this class was generated from the following files: