Lines Matching refs:glitch

103         SpanGlitch* glitch = fGlitches.push();  in recordCommon()  local
104 glitch->fBase = nullptr; in recordCommon()
105 glitch->fSuspect = nullptr; in recordCommon()
106 glitch->fSegment = nullptr; in recordCommon()
107 glitch->fOppSegment = nullptr; in recordCommon()
108 glitch->fCoinSpan = nullptr; in recordCommon()
109 glitch->fEndSpan = nullptr; in recordCommon()
110 glitch->fOppSpan = nullptr; in recordCommon()
111 glitch->fOppEndSpan = nullptr; in recordCommon()
112 glitch->fStartT = SK_ScalarNaN; in recordCommon()
113 glitch->fEndT = SK_ScalarNaN; in recordCommon()
114 glitch->fOppStartT = SK_ScalarNaN; in recordCommon()
115 glitch->fOppEndT = SK_ScalarNaN; in recordCommon()
116 glitch->fPt = { SK_ScalarNaN, SK_ScalarNaN }; in recordCommon()
117 glitch->fType = type; in recordCommon()
118 return glitch; in recordCommon()
123 SpanGlitch* glitch = recordCommon(type); in record() local
124 glitch->fBase = base; in record()
125 glitch->fSuspect = suspect; in record()
130 SpanGlitch* glitch = recordCommon(type); in record() local
131 glitch->fBase = base; in record()
132 glitch->fCoinSpan = ptT; in record()
137 SpanGlitch* glitch = recordCommon(type); in record() local
138 glitch->fCoinSpan = coin->coinPtTStart(); in record()
139 glitch->fEndSpan = coin->coinPtTEnd(); in record()
141 glitch->fOppSpan = opp->coinPtTStart(); in record()
142 glitch->fOppEndSpan = opp->coinPtTEnd(); in record()
148 SpanGlitch* glitch = recordCommon(type); in record() local
149 glitch->fBase = base; in record()
150 glitch->fSegment = seg; in record()
151 glitch->fStartT = t; in record()
152 glitch->fPt = pt; in record()
157 SpanGlitch* glitch = recordCommon(type); in record() local
158 glitch->fBase = base; in record()
159 glitch->fStartT = t; in record()
160 glitch->fPt = pt; in record()
165 SpanGlitch* glitch = recordCommon(type); in record() local
166 glitch->fCoinSpan = coin->coinPtTStart(); in record()
167 glitch->fEndSpan = coin->coinPtTEnd(); in record()
168 glitch->fEndSpan = endSpan; in record()
169 glitch->fOppSpan = coinSpan; in record()
170 glitch->fOppEndSpan = endSpan; in record()
175 SpanGlitch* glitch = recordCommon(type); in record() local
176 glitch->fBase = base; in record()
177 glitch->fCoinSpan = coin->coinPtTStart(); in record()
178 glitch->fEndSpan = coin->coinPtTEnd(); in record()
183 SpanGlitch* glitch = recordCommon(type); in record() local
184 glitch->fCoinSpan = ptTS; in record()
185 glitch->fEndSpan = ptTE; in record()
186 glitch->fOppSpan = oPtTS; in record()
187 glitch->fOppEndSpan = oPtTE; in record()
192 SpanGlitch* glitch = recordCommon(type); in record() local
193 glitch->fSegment = seg; in record()
194 glitch->fStartT = startT; in record()
195 glitch->fEndT = endT; in record()
196 glitch->fOppSegment = oppSeg; in record()
197 glitch->fOppStartT = oppStartT; in record()
198 glitch->fOppEndT = oppEndT; in record()
203 SpanGlitch* glitch = recordCommon(type); in record() local
204 glitch->fSegment = seg; in record()
205 glitch->fBase = span; in record()
209 SpanGlitch* glitch = recordCommon(type); in record() local
210 glitch->fStartT = t; in record()
211 glitch->fBase = span; in record()
215 SpanGlitch* glitch = recordCommon(type); in record() local
216 glitch->fSegment = seg; in record()
221 SpanGlitch* glitch = recordCommon(type); in record() local
222 glitch->fCoinSpan = coin->coinPtTStart(); in record()
223 glitch->fEndSpan = ptT; in record()
369 const SpanGlitch& glitch = glitches.fGlitches[index]; in CheckHealth() local
370 mask |= 1 << glitch.fType; in CheckHealth()
377 const SpanGlitch& glitch = glitches.fGlitches[index]; in CheckHealth() local
379 if (glitch.fBase) { in CheckHealth()
380 SkDebugf(" seg/base=%d/%d", glitch.fBase->segment()->debugID(), in CheckHealth()
381 glitch.fBase->debugID()); in CheckHealth()
383 if (glitch.fSuspect) { in CheckHealth()
384 SkDebugf(" seg/base=%d/%d", glitch.fSuspect->segment()->debugID(), in CheckHealth()
385 glitch.fSuspect->debugID()); in CheckHealth()
387 if (glitch.fSegment) { in CheckHealth()
388 SkDebugf(" segment=%d", glitch.fSegment->debugID()); in CheckHealth()
390 if (glitch.fCoinSpan) { in CheckHealth()
391 SkDebugf(" coinSeg/Span/PtT=%d/%d/%d", glitch.fCoinSpan->segment()->debugID(), in CheckHealth()
392 glitch.fCoinSpan->span()->debugID(), glitch.fCoinSpan->debugID()); in CheckHealth()
394 if (glitch.fEndSpan) { in CheckHealth()
395 SkDebugf(" endSpan=%d", glitch.fEndSpan->debugID()); in CheckHealth()
397 if (glitch.fOppSpan) { in CheckHealth()
398 SkDebugf(" oppSeg/Span/PtT=%d/%d/%d", glitch.fOppSpan->segment()->debugID(), in CheckHealth()
399 glitch.fOppSpan->span()->debugID(), glitch.fOppSpan->debugID()); in CheckHealth()
401 if (glitch.fOppEndSpan) { in CheckHealth()
402 SkDebugf(" oppEndSpan=%d", glitch.fOppEndSpan->debugID()); in CheckHealth()
404 if (!SkScalarIsNaN(glitch.fStartT)) { in CheckHealth()
405 SkDebugf(" startT=%g", glitch.fStartT); in CheckHealth()
407 if (!SkScalarIsNaN(glitch.fEndT)) { in CheckHealth()
408 SkDebugf(" endT=%g", glitch.fEndT); in CheckHealth()
410 if (glitch.fOppSegment) { in CheckHealth()
411 SkDebugf(" segment=%d", glitch.fOppSegment->debugID()); in CheckHealth()
413 if (!SkScalarIsNaN(glitch.fOppStartT)) { in CheckHealth()
414 SkDebugf(" oppStartT=%g", glitch.fOppStartT); in CheckHealth()
416 if (!SkScalarIsNaN(glitch.fOppEndT)) { in CheckHealth()
417 SkDebugf(" oppEndT=%g", glitch.fOppEndT); in CheckHealth()
419 if (!SkScalarIsNaN(glitch.fPt.fX) || !SkScalarIsNaN(glitch.fPt.fY)) { in CheckHealth()
420 SkDebugf(" pt=%g,%g", glitch.fPt.fX, glitch.fPt.fY); in CheckHealth()
422 DumpGlitchType(glitch.fType); in CheckHealth()