Searched refs:windSum (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/pathops/ |
D | SkPathOpsWinding.cpp | 319 int spanSum = span->windSum(); in sortableTop() 320 int windSum = SkOpSegment::UseInnerWinding(lastWind, wind) ? wind : lastWind; in sortableTop() local 322 span->setWindSum(windSum); in sortableTop() 328 SkASSERT((hitSegment->isXor() ? (windSum & 1) == (spanSum & 1) : windSum == spanSum) in sortableTop() 330 && (windSum ^ wind ^ lastWind) == spanSum)); 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() 369 if (span->windSum() != SK_MinS32) { in findSortableTop()
|
D | SkOpSpan.cpp | 323 return this->windSum(); in computeWindSum() 377 void SkOpSpan::setWindSum(int windSum) { in setWindSum() argument 379 if (fWindSum != SK_MinS32 && fWindSum != windSum) { in setWindSum() 383 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(windSum) <= DEBUG_LIMIT_WIND_SUM); in setWindSum() 384 fWindSum = windSum; in setWindSum()
|
D | SkOpSegment.cpp | 67 if (upSpan->windSum() != SK_MinS32) { in activeAngleInner() 85 if (downSpan->windSum() != SK_MinS32) { in activeAngleInner() 533 int testWinding = angle->starter()->windSum(); in computeSum() 541 baseAngle = SK_MinS32 != angle->starter()->windSum() ? angle : nullptr; in computeSum() 544 if (baseAngle && SK_MinS32 == firstAngle->starter()->windSum()) { in computeSum() 560 int testWinding = angle->starter()->windSum(); in computeSum() 567 baseAngle = SK_MinS32 != angle->starter()->windSum() ? angle : nullptr; in computeSum() 571 return start->starter(end)->windSum(); in computeSum() 705 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextOp() 801 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextWinding() [all …]
|
D | SkPathOpsCommon.cpp | 36 winding = segment->windSum(angle); in AngleWinding() 47 int testWinding = lesser->windSum(); in AngleWinding() 121 if (!first && (sortable || start->starter(end)->windSum() != SK_MinS32)) { in FindChase()
|
D | SkOpSpan.h | 481 void setWindSum(int windSum); 497 int windSum() const { in windSum() function
|
D | SkPathOpsOp.cpp | 63 if (!first && (sortable || start->starter(end)->windSum() != SK_MinS32)) { in findChaseOp() 156 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeOp()
|
D | SkPathOpsSimplify.cpp | 82 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeWinding()
|
D | SkPathOpsDebug.cpp | 877 if (span->windSum() == SK_MinS32) { in debugShowActiveSpans() 880 SkDebugf(" windSum=%d", span->windSum()); in debugShowActiveSpans() 912 if (span->windSum() == SK_MinS32) { in debugShowNewWinding() 915 SkDebugf("%d", span->windSum()); in debugShowNewWinding() 948 if (span->windSum() == SK_MinS32) { in debugShowNewWinding() 951 SkDebugf("%d", span->windSum()); in debugShowNewWinding()
|
D | SkOpSegment.h | 402 int windSum(const SkOpAngle* angle) const;
|
/external/skia/tests/ |
D | PathOpsDebug.cpp | 838 SkPathOpsDebug::WindingPrintf(mSpan.windSum()); in dumpOne() 1056 SkPathOpsDebug::WindingPrintf(this->windSum()); in dumpSpan()
|