Home
last modified time | relevance | path

Searched refs:SkIsConvexPolygon (Results 1 – 16 of 16) sorted by relevance

/external/skia/tests/
DPolyUtilsTest.cpp25 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
33 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
43 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
54 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
66 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
77 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
107 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
119 REPORTER_ASSERT(reporter, !SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
130 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
167 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
[all …]
DInsetConvexPolyTest.cpp34 REPORTER_ASSERT(reporter, SkIsConvexPolygon(rrectPoly.begin(), rrectPoly.count())); in DEF_TEST()
40 REPORTER_ASSERT(reporter, SkIsConvexPolygon(insetPoly.begin(), insetPoly.count())); in DEF_TEST()
45 REPORTER_ASSERT(reporter, SkIsConvexPolygon(insetPoly.begin(), insetPoly.count())); in DEF_TEST()
58 REPORTER_ASSERT(reporter, !SkIsConvexPolygon(insetPoly.begin(), insetPoly.count())); in DEF_TEST()
99 REPORTER_ASSERT(reporter, SkIsConvexPolygon(clippedRRectPoly.begin(), in DEF_TEST()
105 REPORTER_ASSERT(reporter, SkIsConvexPolygon(insetPoly.begin(), insetPoly.count())); in DEF_TEST()
DOffsetSimplePolyTest.cpp40 REPORTER_ASSERT(reporter, SkIsConvexPolygon(rrectPoly.begin(), rrectPoly.count())); in DEF_TEST()
47 REPORTER_ASSERT(reporter, SkIsConvexPolygon(offsetPoly.begin(), offsetPoly.count())); in DEF_TEST()
52 REPORTER_ASSERT(reporter, SkIsConvexPolygon(offsetPoly.begin(), offsetPoly.count())); in DEF_TEST()
65 REPORTER_ASSERT(reporter, !SkIsConvexPolygon(offsetPoly.begin(), offsetPoly.count())); in DEF_TEST()
107 REPORTER_ASSERT(reporter, SkIsConvexPolygon(clippedRRectPoly.begin(), in DEF_TEST()
113 REPORTER_ASSERT(reporter, SkIsConvexPolygon(offsetPoly.begin(), offsetPoly.count())); in DEF_TEST()
/external/skqp/tests/
DPolyUtilsTest.cpp25 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
33 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
43 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
54 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
66 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
77 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
107 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
119 REPORTER_ASSERT(reporter, !SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
130 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
167 REPORTER_ASSERT(reporter, SkIsConvexPolygon(poly.begin(), poly.count())); in DEF_TEST()
[all …]
DInsetConvexPolyTest.cpp34 REPORTER_ASSERT(reporter, SkIsConvexPolygon(rrectPoly.begin(), rrectPoly.count())); in DEF_TEST()
40 REPORTER_ASSERT(reporter, SkIsConvexPolygon(insetPoly.begin(), insetPoly.count())); in DEF_TEST()
45 REPORTER_ASSERT(reporter, SkIsConvexPolygon(insetPoly.begin(), insetPoly.count())); in DEF_TEST()
58 REPORTER_ASSERT(reporter, !SkIsConvexPolygon(insetPoly.begin(), insetPoly.count())); in DEF_TEST()
99 REPORTER_ASSERT(reporter, SkIsConvexPolygon(clippedRRectPoly.begin(), in DEF_TEST()
105 REPORTER_ASSERT(reporter, SkIsConvexPolygon(insetPoly.begin(), insetPoly.count())); in DEF_TEST()
DOffsetSimplePolyTest.cpp37 REPORTER_ASSERT(reporter, SkIsConvexPolygon(rrectPoly.begin(), rrectPoly.count())); in DEF_TEST()
43 REPORTER_ASSERT(reporter, SkIsConvexPolygon(offsetPoly.begin(), offsetPoly.count())); in DEF_TEST()
48 REPORTER_ASSERT(reporter, SkIsConvexPolygon(offsetPoly.begin(), offsetPoly.count())); in DEF_TEST()
61 REPORTER_ASSERT(reporter, !SkIsConvexPolygon(offsetPoly.begin(), offsetPoly.count())); in DEF_TEST()
101 REPORTER_ASSERT(reporter, SkIsConvexPolygon(clippedRRectPoly.begin(), in DEF_TEST()
107 REPORTER_ASSERT(reporter, SkIsConvexPolygon(offsetPoly.begin(), offsetPoly.count())); in DEF_TEST()
/external/skqp/src/utils/
DSkPolyUtils.h80 bool SkIsConvexPolygon(const SkPoint* polygonVerts, int polygonSize);
DSkPolyUtils.cpp171 bool SkIsConvexPolygon(const SkPoint* polygonVerts, int polygonSize) { in SkIsConvexPolygon() function
442 return SkIsConvexPolygon(insetPolygon->begin(), insetPolygon->count()); in SkInsetConvexPolygon()
1047 if (SkIsConvexPolygon(polygon, polygonSize)) { in SkIsSimplePolygon()
/external/skia/src/utils/
DSkPolyUtils.h83 bool SkIsConvexPolygon(const SkPoint* polygonVerts, int polygonSize);
DSkPolyUtils.cpp182 bool SkIsConvexPolygon(const SkPoint* polygonVerts, int polygonSize) { in SkIsConvexPolygon() function
466 return SkIsConvexPolygon(insetPolygon->begin(), insetPolygon->count()); in SkInsetConvexPolygon()
1072 if (SkIsConvexPolygon(polygon, polygonSize)) { in SkIsSimplePolygon()
/external/skqp/fuzz/
DFuzzPolyUtils.cpp22 ignoreResult(SkIsConvexPolygon(polygon, count)); in DEF_FUZZ()
/external/skia/fuzz/
DFuzzPolyUtils.cpp26 ignoreResult(SkIsConvexPolygon(polygon, count)); in DEF_FUZZ()
/external/skia/bench/
DPolyUtilsBench.cpp55 (void)SkIsConvexPolygon(poly.begin(), poly.count()); in onDraw()
64 if (SkIsConvexPolygon(poly.begin(), poly.count())) { in onDraw()
/external/skqp/bench/
DPolyUtilsBench.cpp53 (void)SkIsConvexPolygon(poly.begin(), poly.count()); in onDraw()
62 if (SkIsConvexPolygon(poly.begin(), poly.count())) { in onDraw()
/external/skqp/src/core/
DSkDrawShadowInfo.cpp44 if (!SkIsConvexPolygon(pts, 4)) { in GetSpotShadowTransform()
/external/skia/src/core/
DSkDrawShadowInfo.cpp54 if (!SkIsConvexPolygon(pts, 4)) { in GetSpotShadowTransform()