 |
Flutter Impeller
|
|
Go to the documentation of this file.
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"
50 bool MaybePerformIndexNormalization(
const ContentContext& renderer);
52 const std::shared_ptr<const flutter::DlVertices> vertices_;
53 std::vector<uint16_t> indices_;
54 bool performed_normalization_ =
false;
60 #endif // FLUTTER_IMPELLER_DISPLAY_LIST_DL_VERTICES_GEOMETRY_H_
A geometry that is created from a vertices object.
~DlVerticesGeometry()=default
bool HasVertexColors() 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
PrimitiveType
Decides how backend draws pixels based on input vertices.
bool HasTextureCoordinates() const override
Render passes encode render commands directed as one specific render target into an underlying comman...
std::optional< Rect > GetCoverage(const Matrix &transform) const override
A geometry that is created from a DlVertices object.
std::optional< Rect > GetTextureCoordinateCoverge() const override
A 4x4 matrix using column-major storage.
DlVerticesGeometry(const std::shared_ptr< const flutter::DlVertices > &vertices, const ContentContext &renderer)