Home
last modified time | relevance | path

Searched refs:SkPathOp (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/tests/
DPathOpsExtendedTest.h34 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);
DPathOpsBuildUseTest.cpp28 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 …]
DPathOpsBattles.cpp112 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 …]
DPathOpsExtendedTest.cpp35 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 …]
DPathOpsOpCircleThreadedTest.cpp46 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()
DPathOpsOpCubicThreadedTest.cpp57 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()
DPathOpsOpRectThreadedTest.cpp65 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()
DPathOpsBuilderTest.cpp343 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()
DPathOpsInverseTest.cpp25 testPathOp(reporter, one, two, (SkPathOp) op, "inverseTest"); in DEF_TEST()
DPathOpsOpTest.cpp1161 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 …]
DPathOpsThreadedCommon.h38 void outputProgress(const char* pathStr, SkPathOp);
DPathOpsFuzz763Test.cpp65 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 …]
DPathOpsIssue3651.cpp476 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/
DSkPathOps.h22 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/
DSkPathOpsDebug.h327 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,
DSkPathOpsOp.cpp98 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()
DSkPathOpsCommon.h26 bool OpDebug(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result
DSkOpSegment.h37 SkPathOp op);
38 bool activeOp(int xorMiMask, int xorSuMask, SkOpSpanBase* start, SkOpSpanBase* end, SkPathOp op,
215 SkOpSpanBase** nextEnd, bool* unsortable, SkPathOp op,
DSkOpContour.h166 void dumpSegments(const char* prefix = "seg", SkPathOp op = (SkPathOp) -1) const;
DSkOpBuilder.cpp109 void SkOpBuilder::add(const SkPath& path, SkPathOp op) { in add()
DSkPathOpsDebug.cpp551 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()
DSkOpSegment.cpp106 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/
DFuzzPathop.cpp12 const int kLastOp = SkPathOp::kReverseDifference_SkPathOp;
69 builder.add(path, static_cast<SkPathOp>(stragglerOp % (kLastOp + 1))); in DEF_FUZZ()
/external/skia/gm/
Dpathopsinverse.cpp88 Op(one, two, (SkPathOp) op, &result); in onDraw()
/external/skia/tools/debugger/
DSkDebugCanvas.cpp264 Op(devPath, operand, (SkPathOp) elementOp, &devPath); in drawTo()

12