Home
last modified time | relevance | path

Searched refs:SkReduceOrder (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/tests/
DPathOpsCubicReduceOrderTest.cpp63 SkReduceOrder reducer; in DEF_TEST()
112 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
123 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
126 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
135 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
146 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
157 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
168 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
171 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
180 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
[all …]
DPathOpsCubicLineIntersectionTest.cpp36 SkReduceOrder reduce1; in testFail()
37 SkReduceOrder reduce2; in testFail()
38 int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); in testFail()
138 SkReduceOrder reduce1; in testOne()
139 SkReduceOrder reduce2; in testOne()
140 int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); in testOne()
DPathOpsCubicConicIntersectionTest.cpp54 SkReduceOrder reduce1; in cubicConicIntersection()
55 SkReduceOrder reduce2; in cubicConicIntersection()
56 int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); in cubicConicIntersection()
DPathOpsCubicQuadIntersectionTest.cpp64 SkReduceOrder reduce1; in cubicQuadIntersection()
65 SkReduceOrder reduce2; in cubicQuadIntersection()
66 int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); in cubicQuadIntersection()
DPathOpsQuadReduceOrderTest.cpp25 SkReduceOrder reducer; in oneOffTest()
33 SkReduceOrder reducer; in standardTestCases()
DPathOpsConicQuadIntersectionTest.cpp43 SkReduceOrder reduce1; in conicQuadIntersection()
44 SkReduceOrder reduce2; in conicQuadIntersection()
DPathOpsTestCommon.cpp67 SkReduceOrder reducer; in toQuadraticTs()
68 int order = reducer.reduce(*cubic, SkReduceOrder::kAllow_Quadratics); in toQuadraticTs()
102 int orderP1 = reducer.reduce(pair.first(), SkReduceOrder::kNo_Quadratics); in toQuadraticTs()
106 int orderP2 = reducer.reduce(pair.second(), SkReduceOrder::kNo_Quadratics); in toQuadraticTs()
DPathOpsConicLineIntersectionTest.cpp111 SkReduceOrder reducer; in DEF_TEST()
117 SkPath::Verb order1 = SkReduceOrder::Conic(floatConic, reduced); in DEF_TEST()
DPathOpsCubicIntersectionTest.cpp27 SkReduceOrder reduce1, reduce2; in standardTestCases()
28 int order1 = reduce1.reduce(c1, SkReduceOrder::kNo_Quadratics); in standardTestCases()
29 int order2 = reduce2.reduce(c2, SkReduceOrder::kNo_Quadratics); in standardTestCases()
DPathOpsQuadLineIntersectionTest.cpp121 SkReduceOrder reducer1, reducer2; in DEF_TEST()
/external/skqp/tests/
DPathOpsCubicReduceOrderTest.cpp63 SkReduceOrder reducer; in DEF_TEST()
112 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
123 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
126 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
135 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
146 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
157 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
168 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
171 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
180 order = reducer.reduce(cubic, SkReduceOrder::kAllow_Quadratics); in DEF_TEST()
[all …]
DPathOpsCubicLineIntersectionTest.cpp36 SkReduceOrder reduce1; in testFail()
37 SkReduceOrder reduce2; in testFail()
38 int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); in testFail()
138 SkReduceOrder reduce1; in testOne()
139 SkReduceOrder reduce2; in testOne()
140 int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); in testOne()
DPathOpsCubicConicIntersectionTest.cpp54 SkReduceOrder reduce1; in cubicConicIntersection()
55 SkReduceOrder reduce2; in cubicConicIntersection()
56 int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); in cubicConicIntersection()
DPathOpsCubicQuadIntersectionTest.cpp64 SkReduceOrder reduce1; in cubicQuadIntersection()
65 SkReduceOrder reduce2; in cubicQuadIntersection()
66 int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); in cubicQuadIntersection()
DPathOpsQuadReduceOrderTest.cpp25 SkReduceOrder reducer; in oneOffTest()
33 SkReduceOrder reducer; in standardTestCases()
DPathOpsConicQuadIntersectionTest.cpp43 SkReduceOrder reduce1; in conicQuadIntersection()
44 SkReduceOrder reduce2; in conicQuadIntersection()
DPathOpsTestCommon.cpp67 SkReduceOrder reducer; in toQuadraticTs()
68 int order = reducer.reduce(*cubic, SkReduceOrder::kAllow_Quadratics); in toQuadraticTs()
102 int orderP1 = reducer.reduce(pair.first(), SkReduceOrder::kNo_Quadratics); in toQuadraticTs()
106 int orderP2 = reducer.reduce(pair.second(), SkReduceOrder::kNo_Quadratics); in toQuadraticTs()
DPathOpsConicLineIntersectionTest.cpp111 SkReduceOrder reducer; in DEF_TEST()
117 SkPath::Verb order1 = SkReduceOrder::Conic(floatConic, reduced); in DEF_TEST()
DPathOpsCubicIntersectionTest.cpp27 SkReduceOrder reduce1, reduce2; in standardTestCases()
28 int order1 = reduce1.reduce(c1, SkReduceOrder::kNo_Quadratics); in standardTestCases()
29 int order2 = reduce2.reduce(c2, SkReduceOrder::kNo_Quadratics); in standardTestCases()
/external/skqp/src/pathops/
DSkReduceOrder.cpp10 int SkReduceOrder::reduce(const SkDLine& line) { in reduce()
55 int SkReduceOrder::reduce(const SkDQuad& quad) { in reduce()
188 int SkReduceOrder::reduce(const SkDCubic& cubic, Quadratics allowQuadratics) { in reduce()
238 if (allowQuadratics == SkReduceOrder::kAllow_Quadratics in reduce()
246 SkPath::Verb SkReduceOrder::Quad(const SkPoint a[3], SkPoint* reducePts) { in Quad()
249 SkReduceOrder reducer; in Quad()
259 SkPath::Verb SkReduceOrder::Conic(const SkConic& c, SkPoint* reducePts) { in Conic()
260 SkPath::Verb verb = SkReduceOrder::Quad(c.fPts, reducePts); in Conic()
267 SkPath::Verb SkReduceOrder::Cubic(const SkPoint a[4], SkPoint* reducePts) { in Cubic()
275 SkReduceOrder reducer; in Cubic()
DSkOpEdgeBuilder.cpp118 verb = SkReduceOrder::Quad(curve, pts); in preFetch()
128 verb = SkReduceOrder::Quad(curve, pts); in preFetch()
142 verb = SkReduceOrder::Cubic(curve, pts); in preFetch()
224 SkPath::Verb v1 = SkReduceOrder::Quad(&pair[0], cStorage[0]); in walk()
225 SkPath::Verb v2 = SkReduceOrder::Quad(&pair[2], cStorage[1]); in walk()
254 SkPath::Verb v1 = SkReduceOrder::Conic(pair[0], cStorage[0]); in walk()
255 SkPath::Verb v2 = SkReduceOrder::Conic(pair[1], cStorage[1]); in walk()
296 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk()
324 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk()
DSkReduceOrder.h16 union SkReduceOrder { union
/external/skia/src/pathops/
DSkReduceOrder.cpp10 int SkReduceOrder::reduce(const SkDLine& line) { in reduce()
55 int SkReduceOrder::reduce(const SkDQuad& quad) { in reduce()
188 int SkReduceOrder::reduce(const SkDCubic& cubic, Quadratics allowQuadratics) { in reduce()
238 if (allowQuadratics == SkReduceOrder::kAllow_Quadratics in reduce()
246 SkPath::Verb SkReduceOrder::Quad(const SkPoint a[3], SkPoint* reducePts) { in Quad()
249 SkReduceOrder reducer; in Quad()
259 SkPath::Verb SkReduceOrder::Conic(const SkConic& c, SkPoint* reducePts) { in Conic()
260 SkPath::Verb verb = SkReduceOrder::Quad(c.fPts, reducePts); in Conic()
267 SkPath::Verb SkReduceOrder::Cubic(const SkPoint a[4], SkPoint* reducePts) { in Cubic()
275 SkReduceOrder reducer; in Cubic()
DSkOpEdgeBuilder.cpp118 verb = SkReduceOrder::Quad(curve, pts); in preFetch()
128 verb = SkReduceOrder::Quad(curve, pts); in preFetch()
142 verb = SkReduceOrder::Cubic(curve, pts); in preFetch()
224 SkPath::Verb v1 = SkReduceOrder::Quad(&pair[0], cStorage[0]); in walk()
225 SkPath::Verb v2 = SkReduceOrder::Quad(&pair[2], cStorage[1]); in walk()
254 SkPath::Verb v1 = SkReduceOrder::Conic(pair[0], cStorage[0]); in walk()
255 SkPath::Verb v2 = SkReduceOrder::Conic(pair[1], cStorage[1]); in walk()
296 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk()
324 split->fVerb = SkReduceOrder::Cubic(split->fPts, split->fReduced); in walk()
DSkReduceOrder.h16 union SkReduceOrder { union

12