5 #ifndef FLUTTER_IMPELLER_DISPLAY_LIST_DL_IMAGE_IMPELLER_H_
6 #define FLUTTER_IMPELLER_DISPLAY_LIST_DL_IMAGE_IMPELLER_H_
8 #include "flutter/display_list/image/dl_image.h"
17 static sk_sp<DlImageImpeller>
Make(
18 std::shared_ptr<Texture> texture,
20 #
if FML_OS_IOS_SIMULATOR
22 bool is_fake_image =
false
28 std::shared_ptr<Texture> y_texture,
29 std::shared_ptr<Texture> uv_texture,
59 #if FML_OS_IOS_SIMULATOR
61 bool IsFakeImage()
const override {
return is_fake_image_; }
62 #endif // FML_OS_IOS_SIMULATOR
65 std::shared_ptr<Texture> texture_;
66 OwningContext owning_context_;
67 #if FML_OS_IOS_SIMULATOR
68 bool is_fake_image_ =
false;
69 #endif // FML_OS_IOS_SIMULATOR
71 explicit DlImageImpeller(std::shared_ptr<Texture> texture,
73 #
if FML_OS_IOS_SIMULATOR
75 bool is_fake_image =
false
79 DlImageImpeller(
const DlImageImpeller&) =
delete;
81 DlImageImpeller& operator=(
const DlImageImpeller&) =
delete;
86 #endif // FLUTTER_IMPELLER_DISPLAY_LIST_DL_IMAGE_IMPELLER_H_