Lines Matching refs:glitches
256 static void missing_coincidence(SkPathOpsDebug::GlitchLog* glitches, const SkOpContourHead* contour… in missing_coincidence() argument
260 /* result |= */ contour->debugMissingCoincidence(glitches); in missing_coincidence()
265 static void move_multiples(SkPathOpsDebug::GlitchLog* glitches, const SkOpContourHead* contourList)… in move_multiples() argument
268 if (contour->debugMoveMultiples(glitches), false) { in move_multiples()
275 static void move_nearby(SkPathOpsDebug::GlitchLog* glitches, const SkOpContourHead* contourList) { in move_nearby() argument
278 contour->debugMoveNearby(glitches); in move_nearby()
292 SkPathOpsDebug::GlitchLog glitches; in debugAddToCoinChangedDict() local
297 missing_coincidence(&glitches, fContourHead); in debugAddToCoinChangedDict()
299 move_multiples(&glitches, fContourHead); in debugAddToCoinChangedDict()
301 move_nearby(&glitches, fContourHead); in debugAddToCoinChangedDict()
303 fCoincidence->debugAddExpanded(&glitches); in debugAddToCoinChangedDict()
306 fCoincidence->debugAddMissing(&glitches, &added); in debugAddToCoinChangedDict()
308 fCoincidence->debugAddEndMovedSpans(&glitches); in debugAddToCoinChangedDict()
310 fCoincidence->debugCorrectEnds(&glitches); in debugAddToCoinChangedDict()
312 fCoincidence->debugExpand(&glitches); in debugAddToCoinChangedDict()
316 fCoincidence->debugMark(&glitches); in debugAddToCoinChangedDict()
322 if (glitches.fGlitches.count()) { in debugAddToCoinChangedDict()
323 fCoinDictEntry.fGlitchType = glitches.fGlitches[0].fType; in debugAddToCoinChangedDict()
354 GlitchLog glitches; in CheckHealth() local
357 coincidence->debugCheckValid(&glitches); // don't call validate; spans may be inconsistent in CheckHealth()
359 contour->debugCheckHealth(&glitches); in CheckHealth()
360 contour->debugMissingCoincidence(&glitches); 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()
368 for (int index = 0; index < glitches.fGlitches.count(); ++index) { in CheckHealth()
369 const SpanGlitch& glitch = glitches.fGlitches[index]; in CheckHealth()
376 for (int index = 0; index < glitches.fGlitches.count(); ++index) { in CheckHealth()
377 const SpanGlitch& glitch = glitches.fGlitches[index]; in CheckHealth()
801 void SkOpSegment::debugCheckHealth(SkPathOpsDebug::GlitchLog* glitches) const { in debugCheckHealth()
802 debugMoveMultiples(glitches); in debugCheckHealth()
803 debugMoveNearby(glitches); in debugCheckHealth()
804 debugMissingCoincidence(glitches); in debugCheckHealth()
808 void SkOpSegment::debugClearAll(SkPathOpsDebug::GlitchLog* glitches) const { in debugClearAll()
811 this->debugClearOne(span, glitches); in debugClearAll()
813 this->globalState()->coincidence()->debugRelease(glitches, this); in debugClearAll()
817 void SkOpSegment::debugClearOne(const SkOpSpan* span, SkPathOpsDebug::GlitchLog* glitches) const { in debugClearOne()
818 if (span->windValue()) glitches->record(SkPathOpsDebug::kCollapsedWindValue_Glitch, span); in debugClearOne()
819 if (span->oppValue()) glitches->record(SkPathOpsDebug::kCollapsedOppValue_Glitch, span); in debugClearOne()
820 if (!span->done()) glitches->record(SkPathOpsDebug::kCollapsedDone_Glitch, span); in debugClearOne()
968 void SkOpSegment::debugMoveMultiples(SkPathOpsDebug::GlitchLog* glitches) const { in debugMoveMultiples()
1046 oppTest->debugMergeMatches(glitches, oppSpan); in debugMoveMultiples()
1047 oppTest->debugAddOpp(glitches, oppSpan); in debugMoveMultiples()
1064 void SkOpSegment::debugMoveNearby(SkPathOpsDebug::GlitchLog* glitches) const { in debugMoveNearby()
1077 glitches->record(SkPathOpsDebug::kMoveNearbyClearAll_Glitch, this); in debugMoveNearby()
1080 glitches->record(SkPathOpsDebug::kMoveNearbyReleaseFinal_Glitch, spanBase, ptT); in debugMoveNearby()
1082 glitches->record(SkPathOpsDebug::kMoveNearbyRelease_Glitch, test, headPtT); in debugMoveNearby()
1096 glitches->record(SkPathOpsDebug::kMoveNearbyMergeFinal_Glitch, test); in debugMoveNearby()
1101 glitches->record(SkPathOpsDebug::kMoveNearbyMergeFinal_Glitch, test); in debugMoveNearby()
1103 glitches->record(SkPathOpsDebug::kMoveNearbyClearAll2_Glitch, this); in debugMoveNearby()
1107 glitches->record(SkPathOpsDebug::kMoveNearbyMerge_Glitch, spanBase); in debugMoveNearby()