Home | History | Annotate | Download | only in pathops

Lines Matching refs:glitches

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