/third_party/skia/tests/ |
D | PathOpsExtendedTest.h | 35 extern void showOp(const SkPathOp op); 37 const SkPathOp , const char* testName); 39 const SkPathOp , const char* testName, bool checkFail); 41 const SkPathOp, const char* testName); 43 const SkPathOp , const char* testName); 62 void ShowOp(SkPathOp op, const char* pathOne, const char* pathTwo);
|
D | PathOpsBuildUseTest.cpp | 27 builder.add(path0, (SkPathOp) 2); in build1_1() 41 builder.add(path1, (SkPathOp) 2); in build1_1() 55 builder.add(path2, (SkPathOp) 2); in build1_1() 69 builder.add(path3, (SkPathOp) 2); in build1_1() 84 builder.add(path4, (SkPathOp) 2); in build1_1() 99 builder.add(path5, (SkPathOp) 2); in build1_1() 114 builder.add(path6, (SkPathOp) 2); in build1_1() 129 builder.add(path7, (SkPathOp) 2); in build1_1() 144 builder.add(path8, (SkPathOp) 2); in build1_1() 159 builder.add(path9, (SkPathOp) 2); in build1_1() [all …]
|
D | PathOpsBattles.cpp | 112 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp1() 134 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp2() 159 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp3() 187 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp4() 212 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp5() 244 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp6() 268 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp7() 295 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp8() 320 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp9() 344 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp10() [all …]
|
D | PathOpsOpRectThreadedTest.cpp | 69 SkPathOpsDebug::OpStr((SkPathOp) op)); in testPathOpsRectsMain() 71 state.outputProgress(pathStr.c_str(), (SkPathOp) op); in testPathOpsRectsMain() 75 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsRectsMain() 159 SkPathOpsDebug::OpStr((SkPathOp) op)); in testPathOpsFastMain() 161 state.outputProgress(pathStr.c_str(), (SkPathOp) op); in testPathOpsFastMain() 165 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsFastMain()
|
D | PathOpsOpCircleThreadedTest.cpp | 51 SkPathOpsDebug::OpStr((SkPathOp) op)); in testOpCirclesMain() 53 state.outputProgress(pathStr.c_str(), (SkPathOp) op); in testOpCirclesMain() 57 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCirclesMain()
|
D | PathOpsExtendedTest.cpp | 43 bool OpDebug(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result 91 void showOp(const SkPathOp op) { in showOp() 248 static SkTDArray<SkPathOp> gTestOp; 252 const SkPathOp shapeOp, const SkMatrix& scale) { in showPathOpPath() 270 const SkPath& a, const SkPath& b, const SkPathOp shapeOp, const SkMatrix& scale, in comparePaths() 533 const SkPathOp shapeOp, const char* testName, ExpectSuccess expectSuccess, in innerPathOp() 604 const SkPathOp shapeOp, const char* testName) { in testPathOp() 610 const SkPathOp shapeOp, const char* testName, bool checkFail) { in testPathOpCheck() 616 const SkPathOp shapeOp, const char* testName) { in testPathOpFuzz() 622 const SkPathOp shapeOp, const char* testName) { in testPathOpFail() [all …]
|
D | PathOpsOpCubicThreadedTest.cpp | 59 SkPathOpsDebug::OpStr((SkPathOp) op)); in testOpCubicsMain() 61 state.outputProgress(pathStr.c_str(), (SkPathOp) op); in testOpCubicsMain() 65 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCubicsMain()
|
/third_party/flutter/skia/tests/ |
D | PathOpsBuildUseTest.cpp | 28 builder.add(path0, (SkPathOp) 2); in build1_1() 43 builder.add(path1, (SkPathOp) 2); in build1_1() 58 builder.add(path2, (SkPathOp) 2); in build1_1() 73 builder.add(path3, (SkPathOp) 2); in build1_1() 88 builder.add(path4, (SkPathOp) 2); in build1_1() 103 builder.add(path5, (SkPathOp) 2); in build1_1() 118 builder.add(path6, (SkPathOp) 2); in build1_1() 133 builder.add(path7, (SkPathOp) 2); in build1_1() 148 builder.add(path8, (SkPathOp) 2); in build1_1() 163 builder.add(path9, (SkPathOp) 2); in build1_1() [all …]
|
D | PathOpsExtendedTest.h | 35 extern void showOp(const SkPathOp op); 37 const SkPathOp , const char* testName); 39 const SkPathOp , const char* testName, bool checkFail); 41 const SkPathOp, const char* testName); 43 const SkPathOp , const char* testName); 63 void ShowOp(SkPathOp op, const char* pathOne, const char* pathTwo);
|
D | PathOpsBattles.cpp | 112 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp1() 134 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp2() 159 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp3() 187 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp4() 212 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp5() 244 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp6() 268 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp7() 295 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp8() 320 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp9() 344 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in battleOp10() [all …]
|
D | PathOpsOpRectThreadedTest.cpp | 68 SkPathOpsDebug::OpStr((SkPathOp) op)); in testPathOpsRectsMain() 70 state.outputProgress(pathStr.c_str(), (SkPathOp) op); in testPathOpsRectsMain() 74 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsRectsMain() 154 SkPathOpsDebug::OpStr((SkPathOp) op)); in testPathOpsFastMain() 156 state.outputProgress(pathStr.c_str(), (SkPathOp) op); in testPathOpsFastMain() 160 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsFastMain()
|
D | PathOpsOpCircleThreadedTest.cpp | 50 SkPathOpsDebug::OpStr((SkPathOp) op)); in testOpCirclesMain() 52 state.outputProgress(pathStr.c_str(), (SkPathOp) op); in testOpCirclesMain() 56 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCirclesMain()
|
D | PathOpsExtendedTest.cpp | 42 bool OpDebug(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result 154 void showOp(const SkPathOp op) { in showOp() 340 static SkTDArray<SkPathOp> gTestOp; 344 const SkPathOp shapeOp, const SkMatrix& scale) { in showPathOpPath() 362 const SkPath& a, const SkPath& b, const SkPathOp shapeOp, const SkMatrix& scale, in comparePaths() 635 static void showName(const SkPath& a, const SkPath& b, const SkPathOp shapeOp) { in showName() 644 const SkPathOp shapeOp, const char* testName, ExpectSuccess expectSuccess, in innerPathOp() 718 const SkPathOp shapeOp, const char* testName) { in testPathOp() 724 const SkPathOp shapeOp, const char* testName, bool checkFail) { in testPathOpCheck() 730 const SkPathOp shapeOp, const char* testName) { in testPathOpFuzz() [all …]
|
D | PathOpsOpCubicThreadedTest.cpp | 61 SkPathOpsDebug::OpStr((SkPathOp) op)); in testOpCubicsMain() 63 state.outputProgress(pathStr.c_str(), (SkPathOp) op); in testOpCubicsMain() 67 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCubicsMain()
|
/third_party/flutter/skia/include/pathops/ |
D | SkPathOps.h | 22 enum SkPathOp { enum 46 bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result); 94 void add(const SkPath& path, SkPathOp _operator); 106 SkTDArray<SkPathOp> fOps;
|
/third_party/skia/include/pathops/ |
D | SkPathOps.h | 22 enum SkPathOp { enum 46 bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result); 94 void add(const SkPath& path, SkPathOp _operator); 106 SkTDArray<SkPathOp> fOps;
|
/third_party/skia/src/effects/ |
D | SkOpPathEffect.cpp | 16 SkPathOp op) { in Make() 20 SkOpPE::SkOpPE(sk_sp<SkPathEffect> one, sk_sp<SkPathEffect> two, SkPathOp op) in SkOpPE() 59 case SkPathOp::kIntersect_SkPathOp: in computeFastBounds() 64 case SkPathOp::kDifference_SkPathOp: in computeFastBounds() 67 case SkPathOp::kReverseDifference_SkPathOp: in computeFastBounds() 71 case SkPathOp::kXOR_SkPathOp: in computeFastBounds() 73 case SkPathOp::kUnion_SkPathOp: in computeFastBounds() 90 SkPathOp op = buffer.read32LE(kReverseDifference_SkPathOp); in CreateProc()
|
/third_party/skia/fuzz/ |
D | FuzzPathop.cpp | 32 SkPathOp op; in DEF_FUZZ() 33 fuzz->nextRange(&op, 0, SkPathOp::kReverseDifference_SkPathOp); in DEF_FUZZ() 69 SkPathOp op; in DEF_FUZZ() 70 fuzz->nextRange(&op, 0, SkPathOp::kReverseDifference_SkPathOp); in DEF_FUZZ() 118 const int kLastOp = SkPathOp::kReverseDifference_SkPathOp; 197 builder.add(path, static_cast<SkPathOp>(op % (kLastOp + 1))); in DEF_FUZZ()
|
/third_party/flutter/skia/fuzz/ |
D | FuzzPathop.cpp | 32 SkPathOp op; in DEF_FUZZ() 33 fuzz->nextRange(&op, 0, SkPathOp::kReverseDifference_SkPathOp); in DEF_FUZZ() 69 SkPathOp op; in DEF_FUZZ() 70 fuzz->nextRange(&op, 0, SkPathOp::kReverseDifference_SkPathOp); in DEF_FUZZ() 118 const int kLastOp = SkPathOp::kReverseDifference_SkPathOp; 197 builder.add(path, static_cast<SkPathOp>(op % (kLastOp + 1))); in DEF_FUZZ()
|
/third_party/flutter/skia/src/pathops/ |
D | SkPathOpsDebug.h | 356 static const char* OpStr(SkPathOp ); 371 static void ShowPath(const SkPath& one, const SkPath& two, SkPathOp op, const char* name); 423 void DumpOp(const SkPath& one, const SkPath& two, SkPathOp op, 425 void DumpOp(FILE* file, const SkPath& one, const SkPath& two, SkPathOp op, 429 void ReportOpFail(const SkPath& one, const SkPath& two, SkPathOp op); 431 void VerifyOp(const SkPath& one, const SkPath& two, SkPathOp op, 451 void DumpSegments(const SkOpContour& , const char* prefix = "seg", SkPathOp op = (SkPathOp) -1);
|
/third_party/skia/src/pathops/ |
D | SkPathOpsDebug.h | 343 static const char* OpStr(SkPathOp ); 350 static void ShowPath(const SkPath& one, const SkPath& two, SkPathOp op, const char* name); 402 void DumpOp(const SkPath& one, const SkPath& two, SkPathOp op, 404 void DumpOp(FILE* file, const SkPath& one, const SkPath& two, SkPathOp op, 408 void ReportOpFail(const SkPath& one, const SkPath& two, SkPathOp op); 410 void VerifyOp(const SkPath& one, const SkPath& two, SkPathOp op, 430 void DumpSegments(const SkOpContour& , const char* prefix = "seg", SkPathOp op = (SkPathOp) -1);
|
/third_party/flutter/skia/src/effects/ |
D | SkOpPE.h | 15 SkOpPE(sk_sp<SkPathEffect> one, sk_sp<SkPathEffect> two, SkPathOp op); 27 SkPathOp fOp;
|
D | SkOpPathEffect.cpp | 14 SkPathOp op) { in Make() 18 SkOpPE::SkOpPE(sk_sp<SkPathEffect> one, sk_sp<SkPathEffect> two, SkPathOp op) in SkOpPE() 50 SkPathOp op = buffer.read32LE(kReverseDifference_SkPathOp); in CreateProc()
|
/third_party/skia/modules/pathkit/ |
D | pathkit_wasm_bindings.cpp | 237 bool EMSCRIPTEN_KEEPALIVE ApplyPathOp(SkPath& pathOne, const SkPath& pathTwo, SkPathOp op) { in ApplyPathOp() 241 SkPathOrNull EMSCRIPTEN_KEEPALIVE MakeFromOp(const SkPath& pathOne, const SkPath& pathTwo, SkPathOp… in MakeFromOp() 547 enum_<SkPathOp>("PathOp") in EMSCRIPTEN_BINDINGS() 548 .value("DIFFERENCE", SkPathOp::kDifference_SkPathOp) in EMSCRIPTEN_BINDINGS() 549 .value("INTERSECT", SkPathOp::kIntersect_SkPathOp) in EMSCRIPTEN_BINDINGS() 550 .value("UNION", SkPathOp::kUnion_SkPathOp) in EMSCRIPTEN_BINDINGS() 551 .value("XOR", SkPathOp::kXOR_SkPathOp) in EMSCRIPTEN_BINDINGS() 552 .value("REVERSE_DIFFERENCE", SkPathOp::kReverseDifference_SkPathOp); in EMSCRIPTEN_BINDINGS()
|
/third_party/flutter/skia/modules/pathkit/ |
D | pathkit_wasm_bindings.cpp | 250 bool EMSCRIPTEN_KEEPALIVE ApplyPathOp(SkPath& pathOne, const SkPath& pathTwo, SkPathOp op) { in ApplyPathOp() 254 SkPathOrNull EMSCRIPTEN_KEEPALIVE MakeFromOp(const SkPath& pathOne, const SkPath& pathTwo, SkPathOp… in MakeFromOp() 560 enum_<SkPathOp>("PathOp") in EMSCRIPTEN_BINDINGS() 561 .value("DIFFERENCE", SkPathOp::kDifference_SkPathOp) in EMSCRIPTEN_BINDINGS() 562 .value("INTERSECT", SkPathOp::kIntersect_SkPathOp) in EMSCRIPTEN_BINDINGS() 563 .value("UNION", SkPathOp::kUnion_SkPathOp) in EMSCRIPTEN_BINDINGS() 564 .value("XOR", SkPathOp::kXOR_SkPathOp) in EMSCRIPTEN_BINDINGS() 565 .value("REVERSE_DIFFERENCE", SkPathOp::kReverseDifference_SkPathOp); in EMSCRIPTEN_BINDINGS()
|