Home
last modified time | relevance | path

Searched refs:windSum (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/src/pathops/
DSkPathOpsWinding.cpp330 int spanSum = span->windSum(); in sortableTop()
331 int windSum = SkOpSegment::UseInnerWinding(lastWind, wind) ? wind : lastWind; in sortableTop() local
333 span->setWindSum(windSum); in sortableTop()
339 SkASSERT((hitSegment->isXor() ? (windSum & 1) == (spanSum & 1) : windSum == spanSum) in sortableTop()
341 && (windSum ^ wind ^ lastWind) == spanSum)); 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()
381 if (span->windSum() != SK_MinS32) { in findSortableTop()
DSkOpSegment.cpp70 if (upSpan->windSum() != SK_MinS32) { in activeAngleInner()
88 if (downSpan->windSum() != SK_MinS32) { in activeAngleInner()
443 int testWinding = angle->starter()->windSum(); in computeSum()
451 baseAngle = SK_MinS32 != angle->starter()->windSum() ? angle : nullptr; in computeSum()
454 if (baseAngle && SK_MinS32 == firstAngle->starter()->windSum()) { in computeSum()
470 int testWinding = angle->starter()->windSum(); in computeSum()
477 baseAngle = SK_MinS32 != angle->starter()->windSum() ? angle : nullptr; in computeSum()
481 return start->starter(end)->windSum(); in computeSum()
625 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextOp()
721 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextWinding()
[all …]
DSkOpSpan.cpp378 return this->windSum(); in computeWindSum()
476 void SkOpSpan::setWindSum(int windSum) { in setWindSum() argument
478 if (fWindSum != SK_MinS32 && fWindSum != windSum) { in setWindSum()
482 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(windSum) <= DEBUG_LIMIT_WIND_SUM); in setWindSum()
483 fWindSum = windSum; in setWindSum()
DSkPathOpsCommon.cpp41 winding = segment->windSum(angle); in AngleWinding()
52 int testWinding = lesser->windSum(); in AngleWinding()
130 if (!first && (sortable || start->starter(end)->windSum() != SK_MinS32)) { in FindChase()
DSkPathOpsOp.cpp81 if (!first && (sortable || start->starter(end)->windSum() != SK_MinS32)) { in findChaseOp()
186 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeOp()
DSkOpSpan.h538 void setWindSum(int windSum);
555 int windSum() const { in windSum() function
DSkPathOpsSimplify.cpp72 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeWinding()
DSkPathOpsDebug.cpp1148 if (span->windSum() == SK_MinS32) { in debugShowActiveSpans()
1151 str->appendf(" windSum=%d", span->windSum()); in debugShowActiveSpans()
1183 if (span->windSum() == SK_MinS32) { in debugShowNewWinding()
1186 SkDebugf("%d", span->windSum()); in debugShowNewWinding()
1219 if (span->windSum() == SK_MinS32) { in debugShowNewWinding()
1222 SkDebugf("%d", span->windSum()); in debugShowNewWinding()
DSkOpSegment.h426 int windSum(const SkOpAngle* angle) const;
/third_party/skia/tests/
DPathOpsDebug.cpp559 SkPathOpsDebug::WindingPrintf(mSpan.windSum()); in dumpOne()
795 SkPathOpsDebug::WindingPrintf(this->windSum()); in dumpSpan()