/external/skia/tests/ |
D | PathOpsSkpTest.cpp | 20 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 …]
|
D | PathOpsOpTest.cpp | 34 SkPath path, pathB; in cubicOp1d() local 39 pathB.setFillType(SkPath::kWinding_FillType); in cubicOp1d() 40 pathB.moveTo(0,1); in cubicOp1d() 41 pathB.cubicTo(0,1, 1,0, 2,0); in cubicOp1d() 42 pathB.close(); in cubicOp1d() 43 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); in cubicOp1d() 47 SkPath path, pathB; in cubicOp2d() local 52 pathB.setFillType(SkPath::kWinding_FillType); in cubicOp2d() 53 pathB.moveTo(0,1); in cubicOp2d() 54 pathB.cubicTo(0,1, 2,0, 1,0); in cubicOp2d() [all …]
|
D | PathOpsOpRectThreadedTest.cpp | 34 SkPath pathA, pathB; in testPathOpsRectsMain() local 41 pathB.setFillType((SkPath::FillType) f); in testPathOpsRectsMain() 42 pathB.addRect(SkIntToScalar(a), SkIntToScalar(a), SkIntToScalar(b), in testPathOpsRectsMain() 44 pathB.addRect(SkIntToScalar(c), SkIntToScalar(c), SkIntToScalar(d), in testPathOpsRectsMain() 46 pathB.close(); in testPathOpsRectsMain() 74 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsRectsMain() 123 SkPath pathA, pathB; in testPathOpsFastMain() local 130 pathB.setFillType((SkPath::FillType) f); in testPathOpsFastMain() 132 pathB.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD) + d, in testPathOpsFastMain() 135 pathB.close(); in testPathOpsFastMain() [all …]
|
D | PathOpsOpCubicThreadedTest.cpp | 30 SkPath pathA, pathB; in testOpCubicsMain() local 36 pathB.setFillType((SkPath::FillType) f); in testOpCubicsMain() 37 pathB.moveTo(SkIntToScalar(a), SkIntToScalar(b)); in testOpCubicsMain() 38 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB), in testOpCubicsMain() 40 pathB.close(); in testOpCubicsMain() 67 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCubicsMain()
|
D | PathOpsOpLoopThreadedTest.cpp | 55 SkPath pathA, pathB; in testOpLoopsMain() local 59 pathB.moveTo(SkIntToScalar(c), SkIntToScalar(d)); in testOpLoopsMain() 60 pathB.cubicTo(endC.fX, endC.fY, endD.fX, endD.fY, SkIntToScalar(a), SkIntToScalar(b)); in testOpLoopsMain() 61 pathB.close(); in testOpLoopsMain() 88 testPathOp(state.fReporter, pathA, pathB, kIntersect_SkPathOp, testName.c_str()); in testOpLoopsMain()
|
D | PathOpsOpCircleThreadedTest.cpp | 27 SkPath pathA, pathB; in testOpCirclesMain() local 31 pathB.setFillType((SkPath::FillType) f); in testOpCirclesMain() 32 pathB.addCircle(SkIntToScalar(a), SkIntToScalar(b), SkIntToScalar(c), in testOpCirclesMain() 56 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCirclesMain()
|
D | GrShapeTest.cpp | 133 SkPath pathA, pathB; in check_equivalence() local 135 b.asPath(&pathB); in check_equivalence() 140 if (pathA.isInverseFillType() != pathB.isInverseFillType()) { in check_equivalence() 149 SkPath::ConvertToNonInverseFillType(pathB.getFillType())) { in check_equivalence() 158 REPORTER_ASSERT(r, paths_fill_same(pathA, pathB)); in check_equivalence() 162 SkPath pB = pathB; in check_equivalence() 167 pB.setFillType(SkPath::ConvertToNonInverseFillType(pathB.getFillType())); in check_equivalence() 203 REPORTER_ASSERT(r, pathB.isConvex()); in check_equivalence() 2072 auto compare = [r, &paints] (const SkPath& pathA, const SkPath& pathB, in DEF_TEST() 2075 SkPath volatileB = pathB; in DEF_TEST() [all …]
|
D | PathOpsBuilderTest.cpp | 140 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()
|
D | ClipStackTest.cpp | 271 SkPath pathA, pathB; in test_bounds() local 274 pathB.addRoundRect(rectB, SkIntToScalar(5), SkIntToScalar(5)); in test_bounds() 291 pathB.setFillType(doInvB ? SkPath::kInverseEvenOdd_FillType : in test_bounds() 308 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
|
D | PathOpsIssue3651.cpp | 474 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/ |
D | PathOpsSkpTest.cpp | 20 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 …]
|
D | PathOpsOpTest.cpp | 34 SkPath path, pathB; in cubicOp1d() local 39 pathB.setFillType(SkPath::kWinding_FillType); in cubicOp1d() 40 pathB.moveTo(0,1); in cubicOp1d() 41 pathB.cubicTo(0,1, 1,0, 2,0); in cubicOp1d() 42 pathB.close(); in cubicOp1d() 43 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); in cubicOp1d() 47 SkPath path, pathB; in cubicOp2d() local 52 pathB.setFillType(SkPath::kWinding_FillType); in cubicOp2d() 53 pathB.moveTo(0,1); in cubicOp2d() 54 pathB.cubicTo(0,1, 2,0, 1,0); in cubicOp2d() [all …]
|
D | PathOpsOpRectThreadedTest.cpp | 34 SkPath pathA, pathB; in testPathOpsRectsMain() local 41 pathB.setFillType((SkPath::FillType) f); in testPathOpsRectsMain() 42 pathB.addRect(SkIntToScalar(a), SkIntToScalar(a), SkIntToScalar(b), in testPathOpsRectsMain() 44 pathB.addRect(SkIntToScalar(c), SkIntToScalar(c), SkIntToScalar(d), in testPathOpsRectsMain() 46 pathB.close(); in testPathOpsRectsMain() 74 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsRectsMain() 123 SkPath pathA, pathB; in testPathOpsFastMain() local 130 pathB.setFillType((SkPath::FillType) f); in testPathOpsFastMain() 132 pathB.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD) + d, in testPathOpsFastMain() 135 pathB.close(); in testPathOpsFastMain() [all …]
|
D | PathOpsOpCubicThreadedTest.cpp | 30 SkPath pathA, pathB; in testOpCubicsMain() local 36 pathB.setFillType((SkPath::FillType) f); in testOpCubicsMain() 37 pathB.moveTo(SkIntToScalar(a), SkIntToScalar(b)); in testOpCubicsMain() 38 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB), in testOpCubicsMain() 40 pathB.close(); in testOpCubicsMain() 67 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCubicsMain()
|
D | PathOpsOpLoopThreadedTest.cpp | 55 SkPath pathA, pathB; in testOpLoopsMain() local 59 pathB.moveTo(SkIntToScalar(c), SkIntToScalar(d)); in testOpLoopsMain() 60 pathB.cubicTo(endC.fX, endC.fY, endD.fX, endD.fY, SkIntToScalar(a), SkIntToScalar(b)); in testOpLoopsMain() 61 pathB.close(); in testOpLoopsMain() 88 testPathOp(state.fReporter, pathA, pathB, kIntersect_SkPathOp, testName.c_str()); in testOpLoopsMain()
|
D | PathOpsOpCircleThreadedTest.cpp | 27 SkPath pathA, pathB; in testOpCirclesMain() local 31 pathB.setFillType((SkPath::FillType) f); in testOpCirclesMain() 32 pathB.addCircle(SkIntToScalar(a), SkIntToScalar(b), SkIntToScalar(c), in testOpCirclesMain() 56 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCirclesMain()
|
D | GrShapeTest.cpp | 133 SkPath pathA, pathB; in check_equivalence() local 135 b.asPath(&pathB); in check_equivalence() 140 if (pathA.isInverseFillType() != pathB.isInverseFillType()) { in check_equivalence() 149 SkPath::ConvertToNonInverseFillType(pathB.getFillType())) { in check_equivalence() 158 REPORTER_ASSERT(r, paths_fill_same(pathA, pathB)); in check_equivalence() 162 SkPath pB = pathB; in check_equivalence() 167 pB.setFillType(SkPath::ConvertToNonInverseFillType(pathB.getFillType())); in check_equivalence() 203 REPORTER_ASSERT(r, pathB.isConvex()); in check_equivalence() 2072 auto compare = [r, &paints] (const SkPath& pathA, const SkPath& pathB, in DEF_TEST() 2075 SkPath volatileB = pathB; in DEF_TEST() [all …]
|
D | PathOpsBuilderTest.cpp | 140 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()
|
D | ClipStackTest.cpp | 271 SkPath pathA, pathB; in test_bounds() local 274 pathB.addRoundRect(rectB, SkIntToScalar(5), SkIntToScalar(5)); in test_bounds() 291 pathB.setFillType(doInvB ? SkPath::kInverseEvenOdd_FillType : in test_bounds() 308 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
|
D | PathOpsIssue3651.cpp | 474 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/infra/bots/ |
D | test_utils.py | 58 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/infra/bots/ |
D | test_utils.py | 58 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/ |
D | shadermaskfilter.cpp | 124 auto proc0 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anon334af32e0102() argument 128 pathB->moveTo(r.fLeft, r.fTop); in __anon334af32e0102() 129 pathB->lineTo(r.fRight, r.fBottom); in __anon334af32e0102() 130 pathB->lineTo(r.fLeft, r.fBottom); in __anon334af32e0102() 132 auto proc1 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anon334af32e0202() argument 134 pathB->addCircle(r.width()*0.75f, r.height()*0.75f, r.width()*0.5f); in __anon334af32e0202()
|
/external/skqp/gm/ |
D | shadermaskfilter.cpp | 119 auto proc0 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anonc1cd69450102() argument 123 pathB->moveTo(r.fLeft, r.fTop); in __anonc1cd69450102() 124 pathB->lineTo(r.fRight, r.fBottom); in __anonc1cd69450102() 125 pathB->lineTo(r.fLeft, r.fBottom); in __anonc1cd69450102() 127 auto proc1 = [](const SkRect& r, SkPath* pathA, SkPath* pathB) { in __anonc1cd69450202() argument 129 pathB->addCircle(r.width()*0.75f, r.height()*0.75f, r.width()*0.5f); in __anonc1cd69450202()
|
/external/mesa3d/include/GLES2/ |
D | gl2ext.h | 3014 …NTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 3072 GL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GL…
|