Home | History | Annotate | Download | only in gpu

Lines Matching refs:contourCnt

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