Lines Matching refs:contourCnt
974 void sanitize_contours(Vertex** contours, int contourCnt) { in sanitize_contours() argument
975 for (int i = 0; i < contourCnt; ++i) { in sanitize_contours()
1011 Vertex* build_edges(Vertex** contours, int contourCnt, Comparator& c, SkChunkAlloc& alloc) { in build_edges() argument
1014 for (int i = 0; i < contourCnt; ++i) { in build_edges()
1291 Poly* contours_to_polys(Vertex** contours, int contourCnt, const SkRect& pathBounds, in contours_to_polys() argument
1302 for (int i = 0; i < contourCnt; ++i) { in contours_to_polys()
1311 sanitize_contours(contours, contourCnt); in contours_to_polys()
1312 Vertex* vertices = build_edges(contours, contourCnt, c, alloc); in contours_to_polys()
1331 int contourCnt, SkChunkAlloc& alloc, bool* isLinear) { in path_to_polys() argument
1334 contourCnt++; in path_to_polys()
1336 SkAutoTDeleteArray<Vertex*> contours(new Vertex* [contourCnt]); in path_to_polys()
1339 return contours_to_polys(contours.get(), contourCnt, path.getBounds(), alloc); in path_to_polys()
1342 void get_contour_count_and_size_estimate(const SkPath& path, SkScalar tolerance, int* contourCnt, in get_contour_count_and_size_estimate() argument
1344 int maxPts = GrPathUtils::worstCasePointCount(path, contourCnt, tolerance); in get_contour_count_and_size_estimate()
1346 *contourCnt = 0; in get_contour_count_and_size_estimate()
1351 *contourCnt = 0; in get_contour_count_and_size_estimate()
1380 int contourCnt; in PathToTriangles() local
1382 get_contour_count_and_size_estimate(path, tolerance, &contourCnt, &sizeEstimate); in PathToTriangles()
1383 if (contourCnt <= 0) { in PathToTriangles()
1388 Poly* polys = path_to_polys(path, tolerance, clipBounds, contourCnt, alloc, isLinear); in PathToTriangles()
1431 int contourCnt; in PathToVertices() local
1433 get_contour_count_and_size_estimate(path, tolerance, &contourCnt, &sizeEstimate); in PathToVertices()
1434 if (contourCnt <= 0) { in PathToVertices()
1439 Poly* polys = path_to_polys(path, tolerance, clipBounds, contourCnt, alloc, &isLinear); in PathToVertices()