Home
last modified time | relevance | path

Searched refs:pathB (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/tests/
DPathOpsSkpTest.cpp20 SkPath pathB; in skpcheeseandburger_com225() local
21 pathB.setFillType(SkPath::kWinding_FillType); in skpcheeseandburger_com225()
22 pathB.moveTo(859.11792f, 397.320343f); in skpcheeseandburger_com225()
23 pathB.cubicTo(855.523071f, 399.691284f, 853.721191f, 402.40863f, 853.721191f, 405.552216f); in skpcheeseandburger_com225()
24 pathB.cubicTo(853.721191f, 407.911163f, 854.727478f, 410.115387f, 857.043518f, 412.252716f); in skpcheeseandburger_com225()
25 pathB.cubicTo(859.920532f, 414.916138f, 862.704773f, 417.086426f, 864.679382f, 418.852386f); in skpcheeseandburger_com225()
26 pathB.cubicTo(866.382446f, 420.371765f, 867.19104f, 422.108795f, 867.19104f, 423.506378f); in skpcheeseandburger_com225()
27 pathB.cubicTo(867.19104f, 424.551605f, 866.741821f, 425.539886f, 865.935242f, 426.281616f); in skpcheeseandburger_com225()
28 pathB.cubicTo(865.250366f, 426.910553f, 864.662415f, 427.339813f, 864.139282f, 427.4646f); in skpcheeseandburger_com225()
29 pathB.cubicTo(863.536377f, 427.605347f, 862.259521f, 426.491272f, 860.366821f, 424.208191f); in skpcheeseandburger_com225()
[all …]
DPathOpsOpTest.cpp33 SkPath path, pathB; in cubicOp1d() local
38 pathB.setFillType(SkPath::kWinding_FillType); in cubicOp1d()
39 pathB.moveTo(0,1); in cubicOp1d()
40 pathB.cubicTo(0,1, 1,0, 2,0); in cubicOp1d()
41 pathB.close(); in cubicOp1d()
42 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); in cubicOp1d()
46 SkPath path, pathB; in cubicOp2d() local
51 pathB.setFillType(SkPath::kWinding_FillType); in cubicOp2d()
52 pathB.moveTo(0,1); in cubicOp2d()
53 pathB.cubicTo(0,1, 2,0, 1,0); in cubicOp2d()
[all …]
DPathOpsOpRectThreadedTest.cpp31 SkPath pathA, pathB; in testPathOpsRectsMain() local
38 pathB.setFillType((SkPath::FillType) f); in testPathOpsRectsMain()
39 pathB.addRect(SkIntToScalar(a), SkIntToScalar(a), SkIntToScalar(b), in testPathOpsRectsMain()
41 pathB.addRect(SkIntToScalar(c), SkIntToScalar(c), SkIntToScalar(d), in testPathOpsRectsMain()
43 pathB.close(); in testPathOpsRectsMain()
69 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "rects")) { in testPathOpsRectsMain()
DPathOpsOpCubicThreadedTest.cpp26 SkPath pathA, pathB; in testOpCubicsMain() local
32 pathB.setFillType((SkPath::FillType) f); in testOpCubicsMain()
33 pathB.moveTo(SkIntToScalar(a), SkIntToScalar(b)); in testOpCubicsMain()
34 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB), in testOpCubicsMain()
36 pathB.close(); in testOpCubicsMain()
61 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "cubics")) { in testOpCubicsMain()
DPathOpsOpLoopThreadedTest.cpp50 SkPath pathA, pathB; in testOpLoopsMain() local
54 pathB.moveTo(SkIntToScalar(c), SkIntToScalar(d)); in testOpLoopsMain()
55 pathB.cubicTo(endC.fX, endC.fY, endD.fX, endD.fY, SkIntToScalar(a), SkIntToScalar(b)); in testOpLoopsMain()
56 pathB.close(); in testOpLoopsMain()
81 testPathOp(state.fReporter, pathA, pathB, kIntersect_SkPathOp, "loops"); in testOpLoopsMain()
DPathOpsOpCircleThreadedTest.cpp23 SkPath pathA, pathB; in testOpCirclesMain() local
27 pathB.setFillType((SkPath::FillType) f); in testOpCirclesMain()
28 pathB.addCircle(SkIntToScalar(a), SkIntToScalar(b), SkIntToScalar(c), in testOpCirclesMain()
50 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "circles")) { in testOpCirclesMain()
DGrShapeTest.cpp132 SkPath pathA, pathB; in check_equivalence() local
134 b.asPath(&pathB); in check_equivalence()
139 if (pathA.isInverseFillType() != pathB.isInverseFillType()) { in check_equivalence()
148 SkPath::ConvertToNonInverseFillType(pathB.getFillType())) { in check_equivalence()
157 REPORTER_ASSERT(r, paths_fill_same(pathA, pathB)); in check_equivalence()
161 SkPath pB = pathB; in check_equivalence()
166 pB.setFillType(SkPath::ConvertToNonInverseFillType(pathB.getFillType())); in check_equivalence()
202 REPORTER_ASSERT(r, pathB.isConvex()); in check_equivalence()
2059 auto compare = [r, &paints] (const SkPath& pathA, const SkPath& pathB, in DEF_TEST()
2062 SkPath volatileB = pathB; in DEF_TEST()
[all …]
DPathOpsBuilderTest.cpp140 SkPath path, pathB; in DEF_TEST() local
144 pathB.setFillType(SkPath::kEvenOdd_FillType); in DEF_TEST()
145 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST()
146 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST()
149 builder.add(pathB, kDifference_SkPathOp); in DEF_TEST()
DClipStackTest.cpp249 SkPath pathA, pathB; in test_bounds() local
252 pathB.addRoundRect(rectB, SkIntToScalar(5), SkIntToScalar(5)); in test_bounds()
269 pathB.setFillType(doInvB ? SkPath::kInverseEvenOdd_FillType : in test_bounds()
286 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
DPathOpsIssue3651.cpp474 SkPath pathB = path2_a(); in issue3651_1a() local
476 testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, in issue3651_1a()
1206 SkPath pathB = path2(); in issue3651_1() local
1208 testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, in issue3651_1()
1214 SkPath pathB = path4(); in issue3651_2() local
1215 testPathOp(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename); in issue3651_2()
1220 SkPath pathB = path6(); in issue3651_3() local
1221 testPathOp(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename); in issue3651_3()
/external/skqp/tests/
DPathOpsSkpTest.cpp20 SkPath pathB; in skpcheeseandburger_com225() local
21 pathB.setFillType(SkPath::kWinding_FillType); in skpcheeseandburger_com225()
22 pathB.moveTo(859.11792f, 397.320343f); in skpcheeseandburger_com225()
23 pathB.cubicTo(855.523071f, 399.691284f, 853.721191f, 402.40863f, 853.721191f, 405.552216f); in skpcheeseandburger_com225()
24 pathB.cubicTo(853.721191f, 407.911163f, 854.727478f, 410.115387f, 857.043518f, 412.252716f); in skpcheeseandburger_com225()
25 pathB.cubicTo(859.920532f, 414.916138f, 862.704773f, 417.086426f, 864.679382f, 418.852386f); in skpcheeseandburger_com225()
26 pathB.cubicTo(866.382446f, 420.371765f, 867.19104f, 422.108795f, 867.19104f, 423.506378f); in skpcheeseandburger_com225()
27 pathB.cubicTo(867.19104f, 424.551605f, 866.741821f, 425.539886f, 865.935242f, 426.281616f); in skpcheeseandburger_com225()
28 pathB.cubicTo(865.250366f, 426.910553f, 864.662415f, 427.339813f, 864.139282f, 427.4646f); in skpcheeseandburger_com225()
29 pathB.cubicTo(863.536377f, 427.605347f, 862.259521f, 426.491272f, 860.366821f, 424.208191f); in skpcheeseandburger_com225()
[all …]
DPathOpsOpTest.cpp33 SkPath path, pathB; in cubicOp1d() local
38 pathB.setFillType(SkPath::kWinding_FillType); in cubicOp1d()
39 pathB.moveTo(0,1); in cubicOp1d()
40 pathB.cubicTo(0,1, 1,0, 2,0); in cubicOp1d()
41 pathB.close(); in cubicOp1d()
42 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); in cubicOp1d()
46 SkPath path, pathB; in cubicOp2d() local
51 pathB.setFillType(SkPath::kWinding_FillType); in cubicOp2d()
52 pathB.moveTo(0,1); in cubicOp2d()
53 pathB.cubicTo(0,1, 2,0, 1,0); in cubicOp2d()
[all …]
DPathOpsOpCubicThreadedTest.cpp26 SkPath pathA, pathB; in testOpCubicsMain() local
32 pathB.setFillType((SkPath::FillType) f); in testOpCubicsMain()
33 pathB.moveTo(SkIntToScalar(a), SkIntToScalar(b)); in testOpCubicsMain()
34 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB), in testOpCubicsMain()
36 pathB.close(); in testOpCubicsMain()
61 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "cubics")) { in testOpCubicsMain()
DPathOpsOpRectThreadedTest.cpp31 SkPath pathA, pathB; in testPathOpsRectsMain() local
38 pathB.setFillType((SkPath::FillType) f); in testPathOpsRectsMain()
39 pathB.addRect(SkIntToScalar(a), SkIntToScalar(a), SkIntToScalar(b), in testPathOpsRectsMain()
41 pathB.addRect(SkIntToScalar(c), SkIntToScalar(c), SkIntToScalar(d), in testPathOpsRectsMain()
43 pathB.close(); in testPathOpsRectsMain()
69 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "rects")) { in testPathOpsRectsMain()
DPathOpsOpLoopThreadedTest.cpp50 SkPath pathA, pathB; in testOpLoopsMain() local
54 pathB.moveTo(SkIntToScalar(c), SkIntToScalar(d)); in testOpLoopsMain()
55 pathB.cubicTo(endC.fX, endC.fY, endD.fX, endD.fY, SkIntToScalar(a), SkIntToScalar(b)); in testOpLoopsMain()
56 pathB.close(); in testOpLoopsMain()
81 testPathOp(state.fReporter, pathA, pathB, kIntersect_SkPathOp, "loops"); in testOpLoopsMain()
DPathOpsOpCircleThreadedTest.cpp23 SkPath pathA, pathB; in testOpCirclesMain() local
27 pathB.setFillType((SkPath::FillType) f); in testOpCirclesMain()
28 pathB.addCircle(SkIntToScalar(a), SkIntToScalar(b), SkIntToScalar(c), in testOpCirclesMain()
50 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "circles")) { in testOpCirclesMain()
DGrShapeTest.cpp132 SkPath pathA, pathB; in check_equivalence() local
134 b.asPath(&pathB); in check_equivalence()
139 if (pathA.isInverseFillType() != pathB.isInverseFillType()) { in check_equivalence()
148 SkPath::ConvertToNonInverseFillType(pathB.getFillType())) { in check_equivalence()
157 REPORTER_ASSERT(r, paths_fill_same(pathA, pathB)); in check_equivalence()
161 SkPath pB = pathB; in check_equivalence()
166 pB.setFillType(SkPath::ConvertToNonInverseFillType(pathB.getFillType())); in check_equivalence()
202 REPORTER_ASSERT(r, pathB.isConvex()); in check_equivalence()
2031 auto compare = [r, &paints] (const SkPath& pathA, const SkPath& pathB, in DEF_TEST()
2034 SkPath volatileB = pathB; in DEF_TEST()
[all …]
DPathOpsBuilderTest.cpp140 SkPath path, pathB; in DEF_TEST() local
144 pathB.setFillType(SkPath::kEvenOdd_FillType); in DEF_TEST()
145 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST()
146 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST()
149 builder.add(pathB, kDifference_SkPathOp); in DEF_TEST()
DClipStackTest.cpp249 SkPath pathA, pathB; in test_bounds() local
252 pathB.addRoundRect(rectB, SkIntToScalar(5), SkIntToScalar(5)); in test_bounds()
269 pathB.setFillType(doInvB ? SkPath::kInverseEvenOdd_FillType : in test_bounds()
286 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
DPathOpsIssue3651.cpp474 SkPath pathB = path2_a(); in issue3651_1a() local
476 testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, in issue3651_1a()
1206 SkPath pathB = path2(); in issue3651_1() local
1208 testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, in issue3651_1()
1214 SkPath pathB = path4(); in issue3651_2() local
1215 testPathOp(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename); in issue3651_2()
1220 SkPath pathB = path6(); in issue3651_3() local
1221 testPathOp(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename); in issue3651_3()
/external/skqp/gm/
Dshadermaskfilter.cpp108 auto proc0 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anona1c16e390102() argument
112 pathB->moveTo(r.fLeft, r.fTop); in __anona1c16e390102()
113 pathB->lineTo(r.fRight, r.fBottom); in __anona1c16e390102()
114 pathB->lineTo(r.fLeft, r.fBottom); in __anona1c16e390102()
116 auto proc1 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anona1c16e390202() argument
118 pathB->addCircle(r.width()*0.75f, r.height()*0.75f, r.width()*0.5f); in __anona1c16e390202()
/external/skia/infra/bots/
Dtest_utils.py58 pathB = os.path.join(b, prefix, f)
59 test.assertTrue(filecmp.cmp(pathA, pathB, shallow=False))
61 statB = os.stat(pathB)
65 with open(pathB, 'rb') as f:
/external/skqp/infra/bots/
Dtest_utils.py58 pathB = os.path.join(b, prefix, f)
59 test.assertTrue(filecmp.cmp(pathA, pathB, shallow=False))
61 statB = os.stat(pathB)
65 with open(pathB, 'rb') as f:
/external/skia/gm/
Dshadermaskfilter.cpp116 auto proc0 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anon133ef8220102() argument
120 pathB->moveTo(r.fLeft, r.fTop); in __anon133ef8220102()
121 pathB->lineTo(r.fRight, r.fBottom); in __anon133ef8220102()
122 pathB->lineTo(r.fLeft, r.fBottom); in __anon133ef8220102()
124 auto proc1 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anon133ef8220202() argument
126 pathB->addCircle(r.width()*0.75f, r.height()*0.75f, r.width()*0.5f); in __anon133ef8220202()
/external/mesa3d/include/GLES2/
Dgl2ext.h2760 …NTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
2818 GL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GL…

12