5 #ifndef FLUTTER_IMPELLER_DISPLAY_LIST_DL_VERTICES_GEOMETRY_H_
6 #define FLUTTER_IMPELLER_DISPLAY_LIST_DL_VERTICES_GEOMETRY_H_
8 #include "flutter/display_list/dl_vertices.h"
53 bool MaybePerformIndexNormalization(
const ContentContext& renderer);
55 const std::shared_ptr<const flutter::DlVertices> vertices_;
56 std::vector<uint16_t> indices_;
57 bool performed_normalization_ =
false;
A geometry that is created from a DlVertices object.
bool HasTextureCoordinates() const override
std::optional< Rect > GetCoverage(const Matrix &transform) const override
~DlVerticesGeometry()=default
bool CanApplyMaskFilter() const override
DlVerticesGeometry(const std::shared_ptr< const flutter::DlVertices > &vertices, const ContentContext &renderer)
std::optional< Rect > GetTextureCoordinateCoverage() const override
GeometryResult GetPositionUVColorBuffer(Rect texture_coverage, Matrix effect_transform, const ContentContext &renderer, const Entity &entity, RenderPass &pass) const override
GeometryResult GetPositionBuffer(const ContentContext &renderer, const Entity &entity, RenderPass &pass) const override
bool HasVertexColors() const override
Render passes encode render commands directed as one specific render target into an underlying comman...
A geometry that is created from a vertices object.
PrimitiveType
Decides how backend draws pixels based on input vertices.
A 4x4 matrix using column-major storage.