Home
last modified time | relevance | path

Searched refs:oppValue (Results 1 – 14 of 14) sorted by relevance

/external/skqp/src/pathops/
DSkPathOpsWinding.cpp176 } else if (!span->windValue() && !span->oppValue()) { in rayCheck()
305 if (span->windValue() == 0 && span->oppValue() == 0) { in sortableTop()
325 int oppValue = ccw ? -span->oppValue() : span->oppValue(); in sortableTop() local
327 oppWind += oppValue; in sortableTop()
DSkOpCoincidence.cpp1061 int oppValue = start->oppValue(); in apply() local
1063 int oOppValue = oStart->oppValue(); in apply()
1067 int oWindDiff = operandSwap ? oppValue : windValue; in apply()
1084 oppValue -= oOppValue; in apply()
1087 oppValue += oOppValue; in apply()
1093 oppValue &= 1; in apply()
1099 swap(windValue, oppValue); in apply()
1103 oOppValue -= oppValue; in apply()
1106 oOppValue += oppValue; in apply()
1114 windValue = oppValue = 0; in apply()
[all …]
DSkOpSpan.h505 int oppValue() const { in oppValue() function
526 void setOppValue(int oppValue) { in setOppValue() argument
529 SkOPASSERT(!oppValue || !fDone); in setOppValue()
530 fOppValue = oppValue; in setOppValue()
DSkOpSegment.h301 int result = start->t() < end->t() ? -start->upCast()->oppValue() in OppSign()
302 : end->upCast()->oppValue(); in OppSign()
DSkPathOpsDebug.cpp819 if (span->oppValue()) glitches->record(SkPathOpsDebug::kCollapsedOppValue_Glitch, span); in debugClearOne()
1176 if (span->oppValue() && span->oppSum() == SK_MinS32) { in debugShowActiveSpans()
1178 } else if (span->oppValue() || span->oppSum() != SK_MinS32) { in debugShowActiveSpans()
1182 if (span->oppValue() || span->oppSum() != SK_MinS32) { in debugShowActiveSpans()
1183 str->appendf(" oppValue=%d", span->oppValue()); in debugShowActiveSpans()
1247 SkDebugf(" windValue=%d oppValue=%d\n", span->windValue(), span->oppValue()); in debugShowNewWinding()
1368 || between(-DEBUG_LIMIT_WIND_SUM, minSpan->oppValue(), DEBUG_LIMIT_WIND_SUM)); in debugValidate()
1372 wind += next->debugSign() * (op ? minSpan->oppValue() : minSpan->windValue()); in debugValidate()
1379 opp += next->debugSign() * (op ? minSpan->windValue() : minSpan->oppValue()); in debugValidate()
DSkOpSegment.cpp63 if (upSpan->windValue() || upSpan->oppValue()) { in activeAngleInner()
82 if (downSpan->windValue() || downSpan->oppValue()) { in activeAngleInner()
1122 || foundMin->oppValue() != origMin->oppValue()) { in nextChase()
/external/skia/src/pathops/
DSkPathOpsWinding.cpp176 } else if (!span->windValue() && !span->oppValue()) { in rayCheck()
305 if (span->windValue() == 0 && span->oppValue() == 0) { in sortableTop()
325 int oppValue = ccw ? -span->oppValue() : span->oppValue(); in sortableTop() local
327 oppWind += oppValue; in sortableTop()
DSkOpCoincidence.cpp1061 int oppValue = start->oppValue(); in apply() local
1063 int oOppValue = oStart->oppValue(); in apply()
1067 int oWindDiff = operandSwap ? oppValue : windValue; in apply()
1084 oppValue -= oOppValue; in apply()
1087 oppValue += oOppValue; in apply()
1093 oppValue &= 1; in apply()
1099 swap(windValue, oppValue); in apply()
1103 oOppValue -= oppValue; in apply()
1106 oOppValue += oppValue; in apply()
1114 windValue = oppValue = 0; in apply()
[all …]
DSkOpSpan.h505 int oppValue() const { in oppValue() function
526 void setOppValue(int oppValue) { in setOppValue() argument
529 SkOPASSERT(!oppValue || !fDone); in setOppValue()
530 fOppValue = oppValue; in setOppValue()
DSkOpSegment.h301 int result = start->t() < end->t() ? -start->upCast()->oppValue() in OppSign()
302 : end->upCast()->oppValue(); in OppSign()
DSkPathOpsDebug.cpp819 if (span->oppValue()) glitches->record(SkPathOpsDebug::kCollapsedOppValue_Glitch, span); in debugClearOne()
1176 if (span->oppValue() && span->oppSum() == SK_MinS32) { in debugShowActiveSpans()
1178 } else if (span->oppValue() || span->oppSum() != SK_MinS32) { in debugShowActiveSpans()
1182 if (span->oppValue() || span->oppSum() != SK_MinS32) { in debugShowActiveSpans()
1183 str->appendf(" oppValue=%d", span->oppValue()); in debugShowActiveSpans()
1247 SkDebugf(" windValue=%d oppValue=%d\n", span->windValue(), span->oppValue()); in debugShowNewWinding()
1368 || between(-DEBUG_LIMIT_WIND_SUM, minSpan->oppValue(), DEBUG_LIMIT_WIND_SUM)); in debugValidate()
1372 wind += next->debugSign() * (op ? minSpan->oppValue() : minSpan->windValue()); in debugValidate()
1379 opp += next->debugSign() * (op ? minSpan->windValue() : minSpan->oppValue()); in debugValidate()
DSkOpSegment.cpp63 if (upSpan->windValue() || upSpan->oppValue()) { in activeAngleInner()
82 if (downSpan->windValue() || downSpan->oppValue()) { in activeAngleInner()
1122 || foundMin->oppValue() != origMin->oppValue()) { in nextChase()
/external/skqp/tests/
DPathOpsDebug.cpp560 if (mSpan.oppValue() != 0 || mSpan.oppSum() != SK_MinS32) { in dumpOne()
561 SkDebugf(" oppVal=%d", mSpan.oppValue()); in dumpOne()
796 if (this->oppValue() != 0 || this->oppSum() != SK_MinS32) { in dumpSpan()
797 SkDebugf(" oppVal=%d", this->oppValue()); in dumpSpan()
/external/skia/tests/
DPathOpsDebug.cpp560 if (mSpan.oppValue() != 0 || mSpan.oppSum() != SK_MinS32) { in dumpOne()
561 SkDebugf(" oppVal=%d", mSpan.oppValue()); in dumpOne()
796 if (this->oppValue() != 0 || this->oppSum() != SK_MinS32) { in dumpSpan()
797 SkDebugf(" oppVal=%d", this->oppValue()); in dumpSpan()