Searched refs:oppSum (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/pathops/ |
D | SkPathOpsWinding.cpp | 341 int oSpanSum = span->oppSum(); in sortableTop() 342 int oppSum = SkOpSegment::UseInnerWinding(lastOpp, oppWind) ? oppWind : lastOpp; in sortableTop() local 344 span->setOppSum(oppSum); in sortableTop() 347 SkASSERT(hitSegment->oppXor() ? (oppSum & 1) == (oSpanSum & 1) : oppSum == oSpanSum in sortableTop() 349 && (oppSum ^ oppWind ^ lastOpp) == oSpanSum)); in sortableTop() 356 … (void) hitSegment->markAndChaseWinding(span, span->next(), windSum, oppSum, nullptr); in sortableTop() 357 … (void) hitSegment->markAndChaseWinding(span->next(), span, windSum, oppSum, nullptr); in sortableTop()
|
D | SkOpSpan.cpp | 459 void SkOpSpan::setOppSum(int oppSum) { in setOppSum() argument 461 if (fOppSum != SK_MinS32 && fOppSum != oppSum) { in setOppSum() 465 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(oppSum) <= DEBUG_LIMIT_WIND_SUM); in setOppSum() 466 fOppSum = oppSum; in setOppSum()
|
D | SkOpSpan.h | 492 int oppSum() const { in oppSum() function 516 void setOppSum(int oppSum);
|
D | SkOpSegment.cpp | 891 if (spanStart->windSum() != winding || spanStart->oppSum() != oppWinding) { in markAndChaseWinding() 897 SkASSERT(spanStart->oppSum() == winding); in markAndChaseWinding() 967 debugShowNewWinding(__FUNCTION__, span, span->windSum(), span->oppSum()); in markDone() 1651 int oppWinding = lesser->oppSum(); in updateOppWinding()
|
D | SkPathOpsDebug.cpp | 1174 if (span->oppValue() && span->oppSum() == SK_MinS32) { in debugShowActiveSpans() 1176 } else if (span->oppValue() || span->oppSum() != SK_MinS32) { in debugShowActiveSpans() 1177 str->appendf(" oppSum=%d", span->oppSum()); in debugShowActiveSpans() 1180 if (span->oppValue() || span->oppSum() != SK_MinS32) { in debugShowActiveSpans() 1234 if (span->oppSum() == SK_MinS32) { in debugShowNewWinding() 1237 SkDebugf("%d", span->oppSum()); in debugShowNewWinding()
|
/external/skia/tests/ |
D | PathOpsDebug.cpp | 876 if (mSpan.oppValue() != 0 || mSpan.oppSum() != SK_MinS32) { in dumpOne() 879 SkPathOpsDebug::WindingPrintf(mSpan.oppSum()); in dumpOne() 1112 if (this->oppValue() != 0 || this->oppSum() != SK_MinS32) { in dumpSpan() 1115 SkPathOpsDebug::WindingPrintf(this->oppSum()); in dumpSpan()
|