5#ifndef FLUTTER_DISPLAY_LIST_EFFECTS_COLOR_SOURCES_DL_RUNTIME_EFFECT_COLOR_SOURCE_H_
6#define FLUTTER_DISPLAY_LIST_EFFECTS_COLOR_SOURCES_DL_RUNTIME_EFFECT_COLOR_SOURCE_H_
16 std::vector<std::shared_ptr<DlColorSource>>
samplers,
25 std::shared_ptr<DlColorSource>
shared()
const override;
30 size_t size()
const override {
return sizeof(*this); }
35 return runtime_effect_;
37 const std::vector<std::shared_ptr<DlColorSource>>
samplers()
const {
48 sk_sp<DlRuntimeEffect> runtime_effect_;
49 std::vector<std::shared_ptr<DlColorSource>> samplers_;
50 std::shared_ptr<std::vector<uint8_t>> uniform_data_;
std::shared_ptr< DlColorSource > shared() const override
bool is_opaque() const override
bool isUIThreadSafe() const override
If the underlying platform data held by this object is held in a way that it can be stored and potent...
const std::shared_ptr< std::vector< uint8_t > > uniform_data() const
const DlRuntimeEffectColorSource * asRuntimeEffect() const override
DlColorSourceType type() const override
bool equals_(DlColorSource const &other) const override
const sk_sp< DlRuntimeEffect > runtime_effect() const
const std::vector< std::shared_ptr< DlColorSource > > samplers() const
size_t size() const override
#define FML_DISALLOW_COPY_ASSIGN_AND_MOVE(TypeName)