40 std::vector<uint16_t> indices(vertices->
index_count());
53 std::vector<Point> texture_coordinates;
57 texture_coordinates.push_back(
61 return std::make_shared<VerticesGeometry>(
Holds all of the data (both required and optional) for a DisplayList drawVertices call.
SkRect bounds() const
Returns the bounds of the vertices.
const DlColor * colors() const
DlVertexMode mode() const
const SkPoint * vertices() const
Returns a pointer to the vertex information. Should be non-null.
const uint16_t * indices() const
const SkPoint * texture_coordinates() const
Optional< SkRect > bounds
sk_sp< SkBlender > blender SkRect rect
PODArray< SkColor > colors
DlVertexMode
Defines the way in which the vertices of a DlVertices object are separated into triangles into which ...
@ kTriangles
The vertices are taken 3 at a time to form a triangle.
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive mode
Point ToPoint(const SkPoint &point)
Color ToColor(const flutter::DlColor &color)
static Rect ToRect(const SkRect &rect)
static VerticesGeometry::VertexMode ToVertexMode(flutter::DlVertexMode mode)
std::shared_ptr< impeller::VerticesGeometry > MakeVertices(const flutter::DlVertices *vertices)
constexpr Color Premultiply() const
static constexpr TRect MakeLTRB(Type left, Type top, Type right, Type bottom)