Lines Matching refs:Poly
94 struct Poly;
255 Poly* fLeftPoly; // The Poly to the left of this edge, if any.
256 Poly* fRightPoly; // The Poly to the right of this edge, if any.
309 struct Poly { struct
310 Poly(int winding) in Poly() function
388 Poly* addVertex(Vertex* v, Side side, SkChunkAlloc& alloc) { in addVertex() argument
391 Poly* partner = fPartner; in addVertex()
392 Poly* poly = this; in addVertex()
411 Vertex* prev = fActive->fSide == Poly::kLeft_Side ? in addVertex()
414 fActive->addVertex(prev, Poly::kNeither_Side, alloc); in addVertex()
442 Poly* fNext; argument
443 Poly* fPartner; argument
456 Poly* new_poly(Poly** head, Vertex* v, int winding, SkChunkAlloc& alloc) { in new_poly()
457 Poly* poly = ALLOC_NEW(Poly, (winding), alloc); in new_poly()
458 poly->addVertex(v, Poly::kNeither_Side, alloc); in new_poly()
1173 Poly* tessellate(Vertex* vertices, SkChunkAlloc& alloc) { in tessellate()
1176 Poly* polys = nullptr; in tessellate()
1187 Poly* leftPoly = nullptr; in tessellate()
1188 Poly* rightPoly = nullptr; in tessellate()
1210 leftPoly = leftPoly->addVertex(v, Poly::kRight_Side, alloc); in tessellate()
1213 rightPoly = rightPoly->addVertex(v, Poly::kLeft_Side, alloc); in tessellate()
1240 if (leftPoly->fActive->fSide == Poly::kLeft_Side) { in tessellate()
1243 leftPoly->addVertex(v, Poly::kRight_Side, alloc); in tessellate()
1244 rightPoly->addVertex(v, Poly::kLeft_Side, alloc); in tessellate()
1249 rightPoly->addVertex(v, Poly::kLeft_Side, alloc); in tessellate()
1250 leftPoly->addVertex(v, Poly::kRight_Side, alloc); in tessellate()
1255 leftPoly = leftPoly->addVertex(v, Poly::kRight_Side, alloc); in tessellate()
1258 rightPoly = rightPoly->addVertex(v, Poly::kLeft_Side, alloc); in tessellate()
1271 Poly* poly = new_poly(&polys, v, winding, alloc); in tessellate()
1291 Poly* contours_to_polys(Vertex** contours, int contourCnt, const SkRect& pathBounds, in contours_to_polys()
1330 Poly* path_to_polys(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds, in path_to_polys()
1361 int count_points(Poly* polys, SkPath::FillType fillType) { in count_points()
1363 for (Poly* poly = polys; poly; poly = poly->fNext) { in count_points()
1388 Poly* polys = path_to_polys(path, tolerance, clipBounds, contourCnt, alloc, isLinear); in PathToTriangles()
1411 for (Poly* poly = polys; poly; poly = poly->fNext) { in PathToTriangles()
1439 Poly* polys = path_to_polys(path, tolerance, clipBounds, contourCnt, alloc, &isLinear); in PathToVertices()
1451 for (Poly* poly = polys; poly; poly = poly->fNext) { in PathToVertices()