5 #ifndef FLUTTER_IMPELLER_DISPLAY_LIST_DL_ATLAS_GEOMETRY_H_
6 #define FLUTTER_IMPELLER_DISPLAY_LIST_DL_ATLAS_GEOMETRY_H_
8 #include "display_list/dl_color.h"
9 #include "display_list/image/dl_image.h"
22 const flutter::DlColor* colors,
26 std::optional<Rect> cull_rect);
41 const std::shared_ptr<Texture>&
GetAtlas()
const override;
48 const std::shared_ptr<Texture> atlas_;
51 const flutter::DlColor* colors_;
55 mutable std::optional<Rect> cull_rect_;
A wrapper around data provided by a drawAtlas call.
const std::shared_ptr< Texture > & GetAtlas() const override
BlendMode GetBlendMode() const override
VertexBuffer CreateBlendVertexBuffer(HostBuffer &host_buffer) const override
const SamplerDescriptor & GetSamplerDescriptor() const override
DlAtlasGeometry(const std::shared_ptr< Texture > &atlas, const RSTransform *xform, const flutter::DlRect *tex, const flutter::DlColor *colors, size_t count, BlendMode mode, const SamplerDescriptor &sampling, std::optional< Rect > cull_rect)
bool ShouldUseBlend() const override
Whether the blend shader should be used.
bool ShouldSkip() const override
Rect ComputeBoundingBox() const override
VertexBuffer CreateSimpleVertexBuffer(HostBuffer &host_buffer) const override