/external/skia/tests/ |
D | PathOpsCubicReduceOrderTest.cpp | 63 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 …]
|
D | PathOpsCubicLineIntersectionTest.cpp | 36 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()
|
D | PathOpsCubicConicIntersectionTest.cpp | 54 SkReduceOrder reduce1; in cubicConicIntersection() 55 SkReduceOrder reduce2; in cubicConicIntersection() 56 int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); in cubicConicIntersection()
|
D | PathOpsCubicQuadIntersectionTest.cpp | 64 SkReduceOrder reduce1; in cubicQuadIntersection() 65 SkReduceOrder reduce2; in cubicQuadIntersection() 66 int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); in cubicQuadIntersection()
|
D | PathOpsQuadReduceOrderTest.cpp | 25 SkReduceOrder reducer; in oneOffTest() 33 SkReduceOrder reducer; in standardTestCases()
|
D | PathOpsConicQuadIntersectionTest.cpp | 43 SkReduceOrder reduce1; in conicQuadIntersection() 44 SkReduceOrder reduce2; in conicQuadIntersection()
|
D | PathOpsTestCommon.cpp | 67 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()
|
D | PathOpsConicLineIntersectionTest.cpp | 111 SkReduceOrder reducer; in DEF_TEST() 117 SkPath::Verb order1 = SkReduceOrder::Conic(floatConic, reduced); in DEF_TEST()
|
D | PathOpsCubicIntersectionTest.cpp | 27 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()
|
D | PathOpsQuadLineIntersectionTest.cpp | 121 SkReduceOrder reducer1, reducer2; in DEF_TEST()
|
/external/skqp/tests/ |
D | PathOpsCubicReduceOrderTest.cpp | 63 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 …]
|
D | PathOpsCubicLineIntersectionTest.cpp | 36 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()
|
D | PathOpsCubicConicIntersectionTest.cpp | 54 SkReduceOrder reduce1; in cubicConicIntersection() 55 SkReduceOrder reduce2; in cubicConicIntersection() 56 int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); in cubicConicIntersection()
|
D | PathOpsCubicQuadIntersectionTest.cpp | 64 SkReduceOrder reduce1; in cubicQuadIntersection() 65 SkReduceOrder reduce2; in cubicQuadIntersection() 66 int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); in cubicQuadIntersection()
|
D | PathOpsQuadReduceOrderTest.cpp | 25 SkReduceOrder reducer; in oneOffTest() 33 SkReduceOrder reducer; in standardTestCases()
|
D | PathOpsConicQuadIntersectionTest.cpp | 43 SkReduceOrder reduce1; in conicQuadIntersection() 44 SkReduceOrder reduce2; in conicQuadIntersection()
|
D | PathOpsTestCommon.cpp | 67 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()
|
D | PathOpsConicLineIntersectionTest.cpp | 111 SkReduceOrder reducer; in DEF_TEST() 117 SkPath::Verb order1 = SkReduceOrder::Conic(floatConic, reduced); in DEF_TEST()
|
D | PathOpsCubicIntersectionTest.cpp | 27 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/ |
D | SkReduceOrder.cpp | 10 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()
|
D | SkOpEdgeBuilder.cpp | 118 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()
|
D | SkReduceOrder.h | 16 union SkReduceOrder { union
|
/external/skia/src/pathops/ |
D | SkReduceOrder.cpp | 10 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()
|
D | SkOpEdgeBuilder.cpp | 118 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()
|
D | SkReduceOrder.h | 16 union SkReduceOrder { union
|