/external/skia/tests/ |
D | PathOpsExtendedTest.h | 34 extern void showOp(const SkPathOp op); 36 const SkPathOp , const char* testName); 38 const SkPathOp , const char* testName, bool checkFail); 40 const SkPathOp, const char* testName); 42 const SkPath& b, const SkPathOp , const char* testName); 60 void ShowOp(SkPathOp op, const char* pathOne, const char* pathTwo);
|
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 | 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 | PathOpsExtendedTest.cpp | 35 bool OpDebug(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result 147 void showOp(const SkPathOp op) { in showOp() 333 static SkTDArray<SkPathOp> gTestOp; 337 const SkPathOp shapeOp, const SkMatrix& scale) { in showPathOpPath() 357 const SkPath& a, const SkPath& b, const SkPathOp shapeOp, const SkMatrix& scale, in comparePaths() 524 static void showName(const SkPath& a, const SkPath& b, const SkPathOp shapeOp) { in showName() 533 const SkPathOp shapeOp, const char* testName, ExpectSuccess expectSuccess, in innerPathOp() 586 const SkPathOp shapeOp, const char* testName) { in testPathOp() 592 const SkPathOp shapeOp, const char* testName, bool checkFail) { in testPathOpCheck() 598 const SkPathOp shapeOp, const char* testName) { in testPathOpFuzz() [all …]
|
D | PathOpsOpCircleThreadedTest.cpp | 46 SkPathOpsDebug::OpStr((SkPathOp) op)); in testOpCirclesMain() 48 state.outputProgress(pathStr.c_str(), (SkPathOp) op); in testOpCirclesMain() 50 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "circles")) { in testOpCirclesMain()
|
D | PathOpsOpCubicThreadedTest.cpp | 57 SkPathOpsDebug::OpStr((SkPathOp) op)); in testOpCubicsMain() 59 state.outputProgress(pathStr.c_str(), (SkPathOp) op); in testOpCubicsMain() 61 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "cubics")) { in testOpCubicsMain()
|
D | PathOpsOpRectThreadedTest.cpp | 65 SkPathOpsDebug::OpStr((SkPathOp) op)); in testPathOpsRectsMain() 67 state.outputProgress(pathStr.c_str(), (SkPathOp) op); in testPathOpsRectsMain() 69 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "rects")) { in testPathOpsRectsMain()
|
D | PathOpsBuilderTest.cpp | 343 builder.add(path0, SkPathOp::kUnion_SkPathOp); in DEF_TEST() 344 builder.add(path1, SkPathOp::kUnion_SkPathOp); in DEF_TEST() 360 builder.add(path0, SkPathOp::kUnion_SkPathOp); in DEF_TEST() 361 builder.add(path1, SkPathOp::kUnion_SkPathOp); in DEF_TEST()
|
D | PathOpsInverseTest.cpp | 25 testPathOp(reporter, one, two, (SkPathOp) op, "inverseTest"); in DEF_TEST()
|
D | PathOpsOpTest.cpp | 1161 SkPathOp ops[] = { 5194 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in crbug_526025() 5926 testPathOpFuzz(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz487a() 5972 testPathOpFuzz(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz487b() 5998 testPathOpFuzz(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz714() 6020 testPathOpFuzz(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz1() 6045 testPathOpFuzz(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz753_91() 6068 testPathOpFuzz(reporter, path1, path2, (SkPathOp) 1, filename); in bug597926_0() 6143 testPathOpFuzz(reporter, path1, path2, (SkPathOp) 1, filename); in fuzz763_9() 6177 testPathOpFuzz(reporter, path1, path2, (SkPathOp) 1, filename); in fuzz763_4() [all …]
|
D | PathOpsThreadedCommon.h | 38 void outputProgress(const char* pathStr, SkPathOp);
|
D | PathOpsFuzz763Test.cpp | 65 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_3084() 120 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_1823() 213 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_378() 236 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_378b() 257 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_378c() 275 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_378d() 369 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_558() 457 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_378a() 498 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_378a_1() 588 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_8712() [all …]
|
D | PathOpsIssue3651.cpp | 476 testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, in issue3651_1a() 1208 testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, in issue3651_1() 1215 testPathOp(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename); in issue3651_2() 1221 testPathOp(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename); in issue3651_3() 1396 testPathOp(reporter, pathA, path, SkPathOp::kUnion_SkPathOp, filename); in issue3651_4() 1459 testPathOp(reporter, pathA, path, SkPathOp::kUnion_SkPathOp, filename); in issue3651_5() 1472 testPathOp(reporter, pathA, path, SkPathOp::kUnion_SkPathOp, filename); in issue3651_6() 1658 testPathOp(reporter, pathA, path, SkPathOp::kUnion_SkPathOp, filename); in issue3651_7()
|
/external/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); 80 void add(const SkPath& path, SkPathOp _operator); 92 SkTDArray<SkPathOp> fOps;
|
/external/skia/src/pathops/ |
D | SkPathOpsDebug.h | 327 static const char* OpStr(SkPathOp ); 330 static void ShowPath(const SkPath& one, const SkPath& two, SkPathOp op, const char* name); 384 static void DumpOp(const SkPath& one, const SkPath& two, SkPathOp op, 386 static void DumpOp(FILE* file, const SkPath& one, const SkPath& two, SkPathOp op, 390 static void ReportOpFail(const SkPath& one, const SkPath& two, SkPathOp op); 392 static void VerifyOp(const SkPath& one, const SkPath& two, SkPathOp op,
|
D | SkPathOpsOp.cpp | 98 static bool bridgeOp(SkOpContourHead* contourList, const SkPathOp op, in bridgeOp() 183 static const SkPathOp gOpInverse[kReverseDifference_SkPathOp + 1][2][2] = { 218 bool OpDebug(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result in OpDebug() 321 bool Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result) { in Op()
|
D | SkPathOpsCommon.h | 26 bool OpDebug(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result
|
D | SkOpSegment.h | 37 SkPathOp op); 38 bool activeOp(int xorMiMask, int xorSuMask, SkOpSpanBase* start, SkOpSpanBase* end, SkPathOp op, 215 SkOpSpanBase** nextEnd, bool* unsortable, SkPathOp op,
|
D | SkOpContour.h | 166 void dumpSegments(const char* prefix = "seg", SkPathOp op = (SkPathOp) -1) const;
|
D | SkOpBuilder.cpp | 109 void SkOpBuilder::add(const SkPath& path, SkPathOp op) { in add()
|
D | SkPathOpsDebug.cpp | 551 const char* SkPathOpsDebug::OpStr(SkPathOp op) { in OpStr() 555 static void show_op(SkPathOp op, const char* pathOne, const char* pathTwo) { in show_op() 562 void SkPathOpsDebug::ShowPath(const SkPath& a, const SkPath& b, SkPathOp shapeOp, in ShowPath() 2941 void SkPathOpsDebug::DumpOp(const SkPath& one, const SkPath& two, SkPathOp op, in DumpOp() 2947 void SkPathOpsDebug::DumpOp(FILE* file, const SkPath& one, const SkPath& two, SkPathOp op, in DumpOp() 3053 void SkPathOpsDebug::ReportOpFail(const SkPath& one, const SkPath& two, SkPathOp op) { in ReportOpFail() 3059 void SkPathOpsDebug::VerifyOp(const SkPath& one, const SkPath& two, SkPathOp op, in VerifyOp()
|
D | SkOpSegment.cpp | 106 SkPathOp op) { in activeOp() 120 SkPathOp op, int* sumMiWinding, int* sumSuWinding) { in activeOp() 520 SkOpSpanBase** nextEnd, bool* unsortable, SkPathOp op, int xorMiMask, int xorSuMask) { in findNextOp()
|
/external/skia/fuzz/ |
D | FuzzPathop.cpp | 12 const int kLastOp = SkPathOp::kReverseDifference_SkPathOp; 69 builder.add(path, static_cast<SkPathOp>(stragglerOp % (kLastOp + 1))); in DEF_FUZZ()
|
/external/skia/gm/ |
D | pathopsinverse.cpp | 88 Op(one, two, (SkPathOp) op, &result); in onDraw()
|
/external/skia/tools/debugger/ |
D | SkDebugCanvas.cpp | 264 Op(devPath, operand, (SkPathOp) elementOp, &devPath); in drawTo()
|