Flutter Impeller
geometry.cc File Reference

Go to the source code of this file.

Namespaces

 impeller
 

Functions

std::pair< std::vector< Point >, std::vector< uint16_t > > impeller::TessellateConvex (Path::Polyline polyline)
 Given a convex polyline, create a triangle fan structure. More...
 
VertexBufferBuilder< TextureFillVertexShader::PerVertexData > impeller::ComputeUVGeometryCPU (VertexBufferBuilder< SolidFillVertexShader::PerVertexData > &input, Point texture_origin, Size texture_coverage, Matrix effect_transform)
 Compute UV geometry for a VBB that contains only position geometry. More...
 
GeometryResult impeller::ComputeUVGeometryForRect (Rect source_rect, Rect texture_coverage, Matrix effect_transform, const ContentContext &renderer, const Entity &entity, RenderPass &pass)