Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkPathOpsWinding.cpp333 int oSpanSum = span->oppSum(); in sortableTop()
334 int oppSum = SkOpSegment::UseInnerWinding(lastOpp, oppWind) ? oppWind : lastOpp; in sortableTop() local
336 span->setOppSum(oppSum); in sortableTop()
339 SkASSERT(hitSegment->oppXor() ? (oppSum & 1) == (oSpanSum & 1) : oppSum == oSpanSum in sortableTop()
341 && (oppSum ^ oppWind ^ lastOpp) == oSpanSum)); in sortableTop()
348 … (void) hitSegment->markAndChaseWinding(span, span->next(), windSum, oppSum, nullptr); in sortableTop()
349 … (void) hitSegment->markAndChaseWinding(span->next(), span, windSum, oppSum, nullptr); in sortableTop()
DSkOpSpan.cpp367 void SkOpSpan::setOppSum(int oppSum) { in setOppSum() argument
369 if (fOppSum != SK_MinS32 && fOppSum != oppSum) { in setOppSum()
373 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(oppSum) <= DEBUG_LIMIT_WIND_SUM); in setOppSum()
374 fOppSum = oppSum; in setOppSum()
DSkOpSpan.h446 int oppSum() const { in oppSum() function
468 void setOppSum(int oppSum);
DSkPathOpsDebug.cpp882 if (span->oppValue() && span->oppSum() == SK_MinS32) { in debugShowActiveSpans()
884 } else if (span->oppValue() || span->oppSum() != SK_MinS32) { in debugShowActiveSpans()
885 SkDebugf(" oppSum=%d", span->oppSum()); in debugShowActiveSpans()
888 if (span->oppValue() || span->oppSum() != SK_MinS32) { in debugShowActiveSpans()
942 if (span->oppSum() == SK_MinS32) { in debugShowNewWinding()
945 SkDebugf("%d", span->oppSum()); in debugShowNewWinding()
DSkOpSegment.cpp985 if (spanStart->windSum() != winding || spanStart->oppSum() != oppWinding) { in markAndChaseWinding()
991 SkASSERT(spanStart->oppSum() == winding); in markAndChaseWinding()
1061 debugShowNewWinding(__FUNCTION__, span, span->windSum(), span->oppSum()); in markDone()
1722 int oppWinding = lesser->oppSum(); in updateOppWinding()
/external/skia/tests/
DPathOpsDebug.cpp839 if (mSpan.oppValue() != 0 || mSpan.oppSum() != SK_MinS32) { in dumpOne()
842 SkPathOpsDebug::WindingPrintf(mSpan.oppSum()); in dumpOne()
1057 if (this->oppValue() != 0 || this->oppSum() != SK_MinS32) { in dumpSpan()
1060 SkPathOpsDebug::WindingPrintf(this->oppSum()); in dumpSpan()