Searched refs:areCusps (Results 1 - 6 of 6) sorted by relevance
/third_party/skia/tests/ |
H A D | GrPathUtilsTest.cpp | 22 bool areCusps = false; in check_cubic_convex_180() local 27 int convex180N = GrPathUtils::findCubicConvex180Chops(p, convex180T, &areCusps); in check_cubic_convex_180() 29 if (!areCusps) { in check_cubic_convex_180() 38 int convex180N = GrPathUtils::findCubicConvex180Chops(p, convex180T, &areCusps); in check_cubic_convex_180() 61 REPORTER_ASSERT(r, !areCusps); in check_cubic_convex_180() 63 REPORTER_ASSERT(r, areCusps); in check_cubic_convex_180() 91 bool areCusps; local 92 REPORTER_ASSERT(r, GrPathUtils::findCubicConvex180Chops(quad, T, &areCusps) == 0); 96 REPORTER_ASSERT(r, GrPathUtils::findCubicConvex180Chops(cusp, T, &areCusps) == 1); 97 REPORTER_ASSERT(r, areCusps [all...] |
/third_party/skia/bench/ |
H A D | GrPathUtilsBench.cpp | 22 bool areCusps; variable 25 int count = GrPathUtils::findCubicConvex180Chops(fPts.data(), T, &areCusps);
|
/third_party/skia/src/gpu/tessellate/ |
H A D | StrokeFixedCountTessellator.cpp | 339 bool areCusps; in prepare() local 340 numChops = GrPathUtils::findCubicConvex180Chops(p, T, &areCusps); in prepare() 345 if (areCusps) { in prepare() 356 if (areCusps) { in prepare()
|
H A D | StrokeHardwareTessellator.cpp | 184 bool areCusps; in writeCubicConvex180PatchesTo() local 185 int numChops = GrPathUtils::findCubicConvex180Chops(p, chopT, &areCusps); in writeCubicConvex180PatchesTo() 191 if (areCusps) { in writeCubicConvex180PatchesTo() 201 if (areCusps) { in writeCubicConvex180PatchesTo()
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrPathUtils.cpp | 553 int GrPathUtils::findCubicConvex180Chops(const SkPoint pts[], float T[2], bool* areCusps) { in findCubicConvex180Chops() argument 557 SkASSERT(areCusps); in findCubicConvex180Chops() 623 *areCusps = false; in findCubicConvex180Chops() 633 *areCusps = (discr_over_4 <= cuspThreshold); in findCubicConvex180Chops() 634 if (*areCusps) { in findCubicConvex180Chops()
|
H A D | GrPathUtils.h | 168 // 'areCusps' is set to true if the chop point occurred at a cusp (within tolerance), or if the chop 170 int findCubicConvex180Chops(const SkPoint[], float T[2], bool* areCusps);
|
Completed in 5 milliseconds