Searched refs:areCusps (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/tests/ |
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; in DEF_TEST() local 92 REPORTER_ASSERT(r, GrPathUtils::findCubicConvex180Chops(quad, T, &areCusps) == 0); in DEF_TEST() 96 REPORTER_ASSERT(r, GrPathUtils::findCubicConvex180Chops(cusp, T, &areCusps) == 1); in DEF_TEST() 97 REPORTER_ASSERT(r, areCusps == true); in DEF_TEST() [all …]
|
/third_party/skia/bench/ |
D | GrPathUtilsBench.cpp | 22 bool areCusps; in onDraw() local 25 int count = GrPathUtils::findCubicConvex180Chops(fPts.data(), T, &areCusps); in onDraw()
|
/third_party/skia/src/gpu/tessellate/ |
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()
|
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/ |
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()
|
D | GrPathUtils.h | 170 int findCubicConvex180Chops(const SkPoint[], float T[2], bool* areCusps);
|