31 const sk_sp<DlImage>& dl_image,
32 std::function<
void(
fml::StatusOr<sk_sp<SkImage>>)> encode_task,
34 const std::shared_ptr<impeller::Context>& impeller_context);
39 const sk_sp<DlImage>& dl_image,
40 std::function<
void(
fml::StatusOr<sk_sp<SkImage>>)> encode_task,
44 const std::shared_ptr<const fml::SyncSwitch>& is_gpu_disabled_sync_switch,
45 const std::shared_ptr<impeller::Context>& impeller_context);
static void ConvertImageToRaster(const sk_sp< DlImage > &dl_image, std::function< void(fml::StatusOr< sk_sp< SkImage > >)> encode_task, const fml::RefPtr< fml::TaskRunner > &raster_task_runner, const fml::RefPtr< fml::TaskRunner > &io_task_runner, const fml::TaskRunnerAffineWeakPtr< SnapshotDelegate > &snapshot_delegate, const std::shared_ptr< const fml::SyncSwitch > &is_gpu_disabled_sync_switch, const std::shared_ptr< impeller::Context > &impeller_context)