Home
last modified time | relevance | path

Searched refs:areCusps (Results 1 – 8 of 8) sorted by relevance

/external/skia/tests/
DGrPathUtilsTest.cpp22 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 …]
DStrokeIndirectTest.cpp360 bool areCusps = false; in verifyResolveLevels() local
361 n = GrPathUtils::findCubicConvex180Chops(pts, T, &areCusps); in verifyResolveLevels()
364 int cuspResolveLevel = (areCusps) ? resolveLevelForCircles : 0; in verifyResolveLevels()
/external/skia/bench/
DGrPathUtilsBench.cpp22 bool areCusps; in onDraw() local
25 int count = GrPathUtils::findCubicConvex180Chops(fPts.data(), T, &areCusps); in onDraw()
/external/skia/src/gpu/tessellate/
DGrStrokeFixedCountTessellator.cpp292 bool areCusps; in prepare() local
293 numChops = GrPathUtils::findCubicConvex180Chops(p, T, &areCusps); in prepare()
298 if (areCusps) { in prepare()
309 if (areCusps) { in prepare()
DGrStrokeHardwareTessellator.cpp176 bool areCusps; in writeCubicConvex180PatchesTo() local
177 int numChops = GrPathUtils::findCubicConvex180Chops(p, chopT, &areCusps); in writeCubicConvex180PatchesTo()
183 if (areCusps) { in writeCubicConvex180PatchesTo()
193 if (areCusps) { in writeCubicConvex180PatchesTo()
DGrStrokeIndirectTessellator.cpp545 bool areCusps; in GrStrokeIndirectTessellator() local
546 int numChops = GrPathUtils::findCubicConvex180Chops(pts, nextChopTs, &areCusps); in GrStrokeIndirectTessellator()
547 if (areCusps && numChops > 0) { in GrStrokeIndirectTessellator()
/external/skia/src/gpu/geometry/
DGrPathUtils.cpp553 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()
DGrPathUtils.h171 int findCubicConvex180Chops(const SkPoint[], float T[2], bool* areCusps);