Lines Matching refs:contourCnt
1275 void sanitize_contours(VertexList* contours, int contourCnt, bool approximate) { in sanitize_contours() argument
1276 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) { in sanitize_contours()
1326 void build_edges(VertexList* contours, int contourCnt, VertexList* mesh, Comparator& c, in build_edges() argument
1328 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) { in build_edges()
2076 void contours_to_mesh(VertexList* contours, int contourCnt, bool antialias, in contours_to_mesh() argument
2079 for (int i = 0; i < contourCnt; ++i) { in contours_to_mesh()
2088 sanitize_contours(contours, contourCnt, antialias); in contours_to_mesh()
2089 build_edges(contours, contourCnt, mesh, c, alloc); in contours_to_mesh()
2111 Poly* contours_to_polys(VertexList* contours, int contourCnt, SkPath::FillType fillType, in contours_to_polys() argument
2117 contours_to_mesh(contours, contourCnt, antialias, &mesh, c, alloc); in contours_to_polys()
2171 int contourCnt, SkArenaAlloc& alloc, bool antialias, bool* isLinear, in path_to_polys() argument
2175 contourCnt++; in path_to_polys()
2177 std::unique_ptr<VertexList[]> contours(new VertexList[contourCnt]); in path_to_polys()
2180 return contours_to_polys(contours.get(), contourCnt, path.getFillType(), path.getBounds(), in path_to_polys()
2185 int contourCnt; in get_contour_count() local
2186 int maxPts = GrPathUtils::worstCasePointCount(path, &contourCnt, tolerance); in get_contour_count()
2190 return contourCnt; in get_contour_count()
2235 int contourCnt = get_contour_count(path, tolerance); in PathToTriangles() local
2236 if (contourCnt <= 0) { in PathToTriangles()
2242 Poly* polys = path_to_polys(path, tolerance, clipBounds, contourCnt, alloc, antialias, in PathToTriangles()
2273 int contourCnt = get_contour_count(path, tolerance); in PathToVertices() local
2274 if (contourCnt <= 0) { in PathToVertices()
2280 Poly* polys = path_to_polys(path, tolerance, clipBounds, contourCnt, alloc, false, &isLinear, in PathToVertices()