Home
last modified time | relevance | path

Searched refs:pathA (Results 1 – 23 of 23) sorted by relevance

/external/skia/tests/
DPathOpsOpRectThreadedTest.cpp31 SkPath pathA, pathB; in testPathOpsRectsMain() local
32 pathA.setFillType((SkPath::FillType) e); in testPathOpsRectsMain()
33 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain()
35 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain()
37 pathA.close(); in testPathOpsRectsMain()
69 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "rects")) { in testPathOpsRectsMain()
DPathOpsOpCubicThreadedTest.cpp26 SkPath pathA, pathB; in testOpCubicsMain() local
27 pathA.setFillType((SkPath::FillType) e); in testOpCubicsMain()
28 pathA.moveTo(SkIntToScalar(state.fA), SkIntToScalar(state.fB)); in testOpCubicsMain()
29 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), in testOpCubicsMain()
31 pathA.close(); in testOpCubicsMain()
61 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "cubics")) { in testOpCubicsMain()
DPathOpsOpLoopThreadedTest.cpp50 SkPath pathA, pathB; in testOpLoopsMain() local
51 pathA.moveTo(SkIntToScalar(a), SkIntToScalar(b)); in testOpLoopsMain()
52 pathA.cubicTo(SkIntToScalar(c), SkIntToScalar(d), endC.fX, endC.fY, endD.fX, endD.fY); in testOpLoopsMain()
53 pathA.close(); in testOpLoopsMain()
81 testPathOp(state.fReporter, pathA, pathB, kIntersect_SkPathOp, "loops"); in testOpLoopsMain()
DPathOpsOpCircleThreadedTest.cpp23 SkPath pathA, pathB; in testOpCirclesMain() local
24 pathA.setFillType((SkPath::FillType) e); in testOpCirclesMain()
25 pathA.addCircle(SkIntToScalar(state.fA), SkIntToScalar(state.fB), SkIntToScalar(state.fC), in testOpCirclesMain()
50 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "circles")) { in testOpCirclesMain()
DGrShapeTest.cpp132 SkPath pathA, pathB; in check_equivalence() local
133 a.asPath(&pathA); in check_equivalence()
139 if (pathA.isInverseFillType() != pathB.isInverseFillType()) { in check_equivalence()
140 const GrShape* s1 = pathA.isInverseFillType() ? &a : &b; in check_equivalence()
141 const GrShape* s2 = pathA.isInverseFillType() ? &b : &a; in check_equivalence()
147 if (SkPath::ConvertToNonInverseFillType(pathA.getFillType()) != in check_equivalence()
157 REPORTER_ASSERT(r, paths_fill_same(pathA, pathB)); in check_equivalence()
160 SkPath pA = pathA; in check_equivalence()
165 pA.setFillType(SkPath::ConvertToNonInverseFillType(pathA.getFillType())); in check_equivalence()
199 REPORTER_ASSERT(r, pathA.isConvex()); in check_equivalence()
[all …]
DClipStackTest.cpp249 SkPath pathA, pathB; in test_bounds() local
251 pathA.addRoundRect(rectA, SkIntToScalar(5), SkIntToScalar(5)); in test_bounds()
267 pathA.setFillType(doInvA ? SkPath::kInverseEvenOdd_FillType : in test_bounds()
285 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
DPathOpsIssue3651.cpp1310 SkPath pathA = path; in issue3651_4() local
1396 testPathOp(reporter, pathA, path, SkPathOp::kUnion_SkPathOp, filename); in issue3651_4()
1429 SkPath pathA = path; in issue3651_5() local
1459 testPathOp(reporter, pathA, path, SkPathOp::kUnion_SkPathOp, filename); in issue3651_5()
1468 SkPath pathA = path; in issue3651_6() local
1472 testPathOp(reporter, pathA, path, SkPathOp::kUnion_SkPathOp, filename); in issue3651_6()
1566 SkPath pathA = path; in issue3651_7() local
1658 testPathOp(reporter, pathA, path, SkPathOp::kUnion_SkPathOp, filename); in issue3651_7()
/external/skqp/tests/
DPathOpsOpCubicThreadedTest.cpp26 SkPath pathA, pathB; in testOpCubicsMain() local
27 pathA.setFillType((SkPath::FillType) e); in testOpCubicsMain()
28 pathA.moveTo(SkIntToScalar(state.fA), SkIntToScalar(state.fB)); in testOpCubicsMain()
29 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), in testOpCubicsMain()
31 pathA.close(); in testOpCubicsMain()
61 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "cubics")) { in testOpCubicsMain()
DPathOpsOpRectThreadedTest.cpp31 SkPath pathA, pathB; in testPathOpsRectsMain() local
32 pathA.setFillType((SkPath::FillType) e); in testPathOpsRectsMain()
33 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain()
35 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain()
37 pathA.close(); in testPathOpsRectsMain()
69 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "rects")) { in testPathOpsRectsMain()
DPathOpsOpLoopThreadedTest.cpp50 SkPath pathA, pathB; in testOpLoopsMain() local
51 pathA.moveTo(SkIntToScalar(a), SkIntToScalar(b)); in testOpLoopsMain()
52 pathA.cubicTo(SkIntToScalar(c), SkIntToScalar(d), endC.fX, endC.fY, endD.fX, endD.fY); in testOpLoopsMain()
53 pathA.close(); in testOpLoopsMain()
81 testPathOp(state.fReporter, pathA, pathB, kIntersect_SkPathOp, "loops"); in testOpLoopsMain()
DPathOpsOpCircleThreadedTest.cpp23 SkPath pathA, pathB; in testOpCirclesMain() local
24 pathA.setFillType((SkPath::FillType) e); in testOpCirclesMain()
25 pathA.addCircle(SkIntToScalar(state.fA), SkIntToScalar(state.fB), SkIntToScalar(state.fC), in testOpCirclesMain()
50 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "circles")) { in testOpCirclesMain()
DGrShapeTest.cpp132 SkPath pathA, pathB; in check_equivalence() local
133 a.asPath(&pathA); in check_equivalence()
139 if (pathA.isInverseFillType() != pathB.isInverseFillType()) { in check_equivalence()
140 const GrShape* s1 = pathA.isInverseFillType() ? &a : &b; in check_equivalence()
141 const GrShape* s2 = pathA.isInverseFillType() ? &b : &a; in check_equivalence()
147 if (SkPath::ConvertToNonInverseFillType(pathA.getFillType()) != in check_equivalence()
157 REPORTER_ASSERT(r, paths_fill_same(pathA, pathB)); in check_equivalence()
160 SkPath pA = pathA; in check_equivalence()
165 pA.setFillType(SkPath::ConvertToNonInverseFillType(pathA.getFillType())); in check_equivalence()
199 REPORTER_ASSERT(r, pathA.isConvex()); in check_equivalence()
[all …]
DClipStackTest.cpp249 SkPath pathA, pathB; in test_bounds() local
251 pathA.addRoundRect(rectA, SkIntToScalar(5), SkIntToScalar(5)); in test_bounds()
267 pathA.setFillType(doInvA ? SkPath::kInverseEvenOdd_FillType : in test_bounds()
285 stack.clipPath(pathA, SkMatrix::I(), kIntersect_SkClipOp, false); in test_bounds()
DPathOpsIssue3651.cpp1310 SkPath pathA = path; in issue3651_4() local
1396 testPathOp(reporter, pathA, path, SkPathOp::kUnion_SkPathOp, filename); in issue3651_4()
1429 SkPath pathA = path; in issue3651_5() local
1459 testPathOp(reporter, pathA, path, SkPathOp::kUnion_SkPathOp, filename); in issue3651_5()
1468 SkPath pathA = path; in issue3651_6() local
1472 testPathOp(reporter, pathA, path, SkPathOp::kUnion_SkPathOp, filename); in issue3651_6()
1566 SkPath pathA = path; in issue3651_7() local
1658 testPathOp(reporter, pathA, path, SkPathOp::kUnion_SkPathOp, filename); in issue3651_7()
/external/skqp/gm/
Dshadermaskfilter.cpp108 auto proc0 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anona1c16e390102() argument
109 pathA->moveTo(r.fLeft, r.fBottom); in __anona1c16e390102()
110 pathA->lineTo(r.fRight, r.fTop); in __anona1c16e390102()
111 pathA->lineTo(r.fRight, r.fBottom); in __anona1c16e390102()
116 auto proc1 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anona1c16e390202() argument
117 pathA->addCircle(r.width()*0.25f, r.height()*0.25f, r.width()*0.5f); in __anona1c16e390202()
/external/skia/infra/bots/
Dtest_utils.py57 pathA = os.path.join(a, prefix, f)
59 test.assertTrue(filecmp.cmp(pathA, pathB, shallow=False))
60 statA = os.stat(pathA)
63 with open(pathA, 'rb') as f:
/external/skqp/infra/bots/
Dtest_utils.py57 pathA = os.path.join(a, prefix, f)
59 test.assertTrue(filecmp.cmp(pathA, pathB, shallow=False))
60 statA = os.stat(pathA)
63 with open(pathA, 'rb') as f:
/external/skia/gm/
Dshadermaskfilter.cpp116 auto proc0 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anon133ef8220102() argument
117 pathA->moveTo(r.fLeft, r.fBottom); in __anon133ef8220102()
118 pathA->lineTo(r.fRight, r.fTop); in __anon133ef8220102()
119 pathA->lineTo(r.fRight, r.fBottom); in __anon133ef8220102()
124 auto proc1 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anon133ef8220202() argument
125 pathA->addCircle(r.width()*0.25f, r.height()*0.25f, r.width()*0.5f); in __anon133ef8220202()
/external/mesa3d/include/GLES2/
Dgl2ext.h2760 typedef void (GL_APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pa…
2818 GL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GL…
/external/swiftshader/include/GLES2/
Dgl2ext.h3092 typedef void (GL_APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pa…
3169 GL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GL…
/external/swiftshader/include/GL/
Dglcorearb.h5329 typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB…
5387 GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat we…
Dglext.h10400 typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB…
10465 GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat we…
/external/mesa3d/include/GL/
Dglext.h9994 typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB…
10059 GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat we…