Searched refs:oppSum (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/pathops/ |
D | SkPathOpsWinding.cpp | 333 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()
|
D | SkOpSpan.cpp | 367 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()
|
D | SkOpSpan.h | 446 int oppSum() const { in oppSum() function 468 void setOppSum(int oppSum);
|
D | SkPathOpsDebug.cpp | 882 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()
|
D | SkOpSegment.cpp | 985 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/ |
D | PathOpsDebug.cpp | 839 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()
|