Searched refs:coincidence (Results 1 - 10 of 10) sorted by relevance
/third_party/skia/src/pathops/ |
H A D | SkPathOpsCommon.cpp | 233 bool HandleCoincidence(SkOpContourHead* contourList, SkOpCoincidence* coincidence) { in HandleCoincidence() argument 236 if (!coincidence->addExpanded(DEBUG_PHASE_ONLY_PARAMS(kIntersecting))) { in HandleCoincidence() 247 // add coincidence formed by pairing on curve points and endpoints in HandleCoincidence() 248 coincidence->correctEnds(DEBUG_PHASE_ONLY_PARAMS(kIntersecting)); in HandleCoincidence() 249 if (!coincidence->addEndMovedSpans(DEBUG_COIN_ONLY_PARAMS())) { in HandleCoincidence() 254 // look for coincidence present in A-B and A-C but missing in B-C in HandleCoincidence() 257 if (!coincidence->addMissing(&added DEBUG_ITER_PARAMS(SAFETY_COUNT - safetyHatch))) { in HandleCoincidence() 270 if (coincidence->expand(DEBUG_COIN_ONLY_PARAMS())) { in HandleCoincidence() 272 if (!coincidence->addMissing(&added DEBUG_COIN_PARAMS())) { in HandleCoincidence() 275 if (!coincidence in HandleCoincidence() [all...] |
H A D | SkPathOpsSimplify.cpp | 158 SkOpCoincidence coincidence(&globalState); in SimplifyDebug() 186 while (AddIntersectTs(current, next, &coincidence) in SimplifyDebug() 192 bool success = HandleCoincidence(contourList, &coincidence); in SimplifyDebug()
|
H A D | SkOpSpan.cpp | 283 SkOpCoincidence* coins = this->globalState()->coincidence(); in checkForCollapsedCoincidence() 451 SkOpCoincidence* coincidence = this->globalState()->coincidence(); in release() local 452 if (coincidence) { in release() 453 coincidence->fixUp(this->ptT(), kept); in release()
|
H A D | SkAddIntersections.h | 15 bool AddIntersectTs(SkOpContour* test, SkOpContour* next, SkOpCoincidence* coincidence);
|
H A D | SkPathOpsOp.cpp | 294 SkOpCoincidence coincidence(&globalState); in OpDebug() 330 while (AddIntersectTs(current, next, &coincidence) in OpDebug() 337 bool success = HandleCoincidence(contourList, &coincidence); in OpDebug()
|
H A D | SkPathOpsTypes.h | 65 SkOpCoincidence* coincidence() { in coincidence() function in SkOpGlobalState 158 void setCoincidence(SkOpCoincidence* coincidence) { in setCoincidence() argument 159 fCoincidence = coincidence; in setCoincidence()
|
H A D | SkAddIntersections.cpp | 259 bool AddIntersectTs(SkOpContour* test, SkOpContour* next, SkOpCoincidence* coincidence) { in AddIntersectTs() argument 552 coinIndex = -1; // coincidence span collapsed in AddIntersectTs() 560 SkASSERT(coincidence->globalState()->debugSkipAssert() in AddIntersectTs() 570 coincidence->add(coinPtT[0], testTAt, coinPtT[1], nextTAt); in AddIntersectTs() 575 SkOPOBJASSERT(coincidence, coinIndex < 0); // expect coincidence to be paired in AddIntersectTs()
|
H A D | SkPathOpsDebug.cpp | 356 const SkOpCoincidence* coincidence = contour->globalState()->coincidence(); in CheckHealth() local 357 coincidence->debugCheckValid(&glitches); // don't call validate; spans may be inconsistent in CheckHealth() 363 coincidence->debugAddMissing(&glitches, &added); in CheckHealth() 364 coincidence->debugExpand(&glitches); in CheckHealth() 365 coincidence->debugAddExpanded(&glitches); in CheckHealth() 366 coincidence->debugMark(&glitches); in CheckHealth() 777 // this mimics the order of the checks in handle coincidence 790 this->globalState()->coincidence()->debugRelease(glitches, this); in debugClearAll() 833 // if the coincidence i 909 const SkOpCoincidence* coincidence = this->globalState()->coincidence(); debugMissingCoincidence() local [all...] |
H A D | SkOpContour.h | 91 return this->globalState()->coincidence(); in debugCoincidence()
|
H A D | SkOpSegment.cpp | 21 because coincidence finds intersections through distance measurement that non-coincident 322 this->globalState()->coincidence()->release(this); in clearAll() 1149 // if the coincidence is a product of multiple intersections. For instance, given 1177 // when opp is encounted the 1st time, continue; on 2nd encounter, look for coincidence in missingCoincidence() 1189 // coincidence needs to be detected. This may not be true. in missingCoincidence() 1229 SkOpCoincidence* coincidences = this->globalState()->coincidence(); in missingCoincidence() 1238 // mark coincidence in missingCoincidence() 1687 // measure distance and see if it's small enough to denote coincidence in testForCoincidence() 1694 // the coincidence can occur at almost any angle in testForCoincidence()
|
Completed in 12 milliseconds