Home
last modified time | relevance | path

Searched refs:oppSum (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/pathops/
DSkPathOpsWinding.cpp344 int oSpanSum = span->oppSum(); in sortableTop()
345 int oppSum = SkOpSegment::UseInnerWinding(lastOpp, oppWind) ? oppWind : lastOpp; in sortableTop() local
347 span->setOppSum(oppSum); in sortableTop()
350 SkASSERT(hitSegment->oppXor() ? (oppSum & 1) == (oSpanSum & 1) : oppSum == oSpanSum in sortableTop()
352 && (oppSum ^ oppWind ^ lastOpp) == oSpanSum)); in sortableTop()
359 … (void) hitSegment->markAndChaseWinding(span, span->next(), windSum, oppSum, nullptr); in sortableTop()
360 … (void) hitSegment->markAndChaseWinding(span->next(), span, windSum, oppSum, nullptr); in sortableTop()
DSkOpSpan.cpp466 void SkOpSpan::setOppSum(int oppSum) { in setOppSum() argument
468 if (fOppSum != SK_MinS32 && fOppSum != oppSum) { in setOppSum()
472 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(oppSum) <= DEBUG_LIMIT_WIND_SUM); in setOppSum()
473 fOppSum = oppSum; in setOppSum()
DSkOpSpan.h500 int oppSum() const { in oppSum() function
524 void setOppSum(int oppSum);
DSkOpSegment.cpp931 if (spanStart->windSum() != winding || spanStart->oppSum() != oppWinding) { in markAndChaseWinding()
937 FAIL_IF(spanStart->oppSum() != winding); in markAndChaseWinding()
1014 debugShowNewWinding(__FUNCTION__, span, span->windSum(), span->oppSum()); in markDone()
1716 int oppWinding = lesser->oppSum(); in updateOppWinding()
DSkPathOpsDebug.cpp1153 if (span->oppValue() && span->oppSum() == SK_MinS32) { in debugShowActiveSpans()
1155 } else if (span->oppValue() || span->oppSum() != SK_MinS32) { in debugShowActiveSpans()
1156 str->appendf(" oppSum=%d", span->oppSum()); in debugShowActiveSpans()
1159 if (span->oppValue() || span->oppSum() != SK_MinS32) { in debugShowActiveSpans()
1213 if (span->oppSum() == SK_MinS32) { in debugShowNewWinding()
1216 SkDebugf("%d", span->oppSum()); in debugShowNewWinding()
/third_party/skia/tests/
DPathOpsDebug.cpp560 if (mSpan.oppValue() != 0 || mSpan.oppSum() != SK_MinS32) { in dumpOne()
563 SkPathOpsDebug::WindingPrintf(mSpan.oppSum()); in dumpOne()
796 if (this->oppValue() != 0 || this->oppSum() != SK_MinS32) { in dumpSpan()
799 SkPathOpsDebug::WindingPrintf(this->oppSum()); in dumpSpan()