Home
last modified time | relevance | path

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

/external/skqp/src/pathops/
DSkPathOpsWinding.cpp326 int spanSum = span->windSum(); in sortableTop()
327 int windSum = SkOpSegment::UseInnerWinding(lastWind, wind) ? wind : lastWind; in sortableTop() local
329 span->setWindSum(windSum); in sortableTop()
335 SkASSERT((hitSegment->isXor() ? (windSum & 1) == (spanSum & 1) : windSum == spanSum) in sortableTop()
337 && (windSum ^ wind ^ lastWind) == spanSum)); in sortableTop()
355 … (void) hitSegment->markAndChaseWinding(span, span->next(), windSum, oppSum, nullptr); in sortableTop()
356 … (void) hitSegment->markAndChaseWinding(span->next(), span, windSum, oppSum, nullptr); in sortableTop()
376 if (span->windSum() != SK_MinS32) { in findSortableTop()
DSkOpSegment.cpp68 if (upSpan->windSum() != SK_MinS32) { in activeAngleInner()
86 if (downSpan->windSum() != SK_MinS32) { in activeAngleInner()
425 int testWinding = angle->starter()->windSum(); in computeSum()
433 baseAngle = SK_MinS32 != angle->starter()->windSum() ? angle : nullptr; in computeSum()
436 if (baseAngle && SK_MinS32 == firstAngle->starter()->windSum()) { in computeSum()
452 int testWinding = angle->starter()->windSum(); in computeSum()
459 baseAngle = SK_MinS32 != angle->starter()->windSum() ? angle : nullptr; in computeSum()
463 return start->starter(end)->windSum(); in computeSum()
605 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextOp()
701 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextWinding()
[all …]
DSkOpSpan.cpp371 return this->windSum(); in computeWindSum()
469 void SkOpSpan::setWindSum(int windSum) { in setWindSum() argument
471 if (fWindSum != SK_MinS32 && fWindSum != windSum) { in setWindSum()
475 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(windSum) <= DEBUG_LIMIT_WIND_SUM); in setWindSum()
476 fWindSum = windSum; in setWindSum()
DSkPathOpsCommon.cpp61 winding = segment->windSum(angle); in AngleWinding()
72 int testWinding = lesser->windSum(); in AngleWinding()
150 if (!first && (sortable || start->starter(end)->windSum() != SK_MinS32)) { in FindChase()
DSkPathOpsOp.cpp74 if (!first && (sortable || start->starter(end)->windSum() != SK_MinS32)) { in findChaseOp()
165 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeOp()
DSkOpSpan.h530 void setWindSum(int windSum);
547 int windSum() const { in windSum() function
DSkPathOpsSimplify.cpp69 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeWinding()
DSkPathOpsDebug.cpp1169 if (span->windSum() == SK_MinS32) { in debugShowActiveSpans()
1172 str->appendf(" windSum=%d", span->windSum()); in debugShowActiveSpans()
1204 if (span->windSum() == SK_MinS32) { in debugShowNewWinding()
1207 SkDebugf("%d", span->windSum()); in debugShowNewWinding()
1240 if (span->windSum() == SK_MinS32) { in debugShowNewWinding()
1243 SkDebugf("%d", span->windSum()); in debugShowNewWinding()
DSkOpSegment.h426 int windSum(const SkOpAngle* angle) const;
/external/skia/src/pathops/
DSkPathOpsWinding.cpp326 int spanSum = span->windSum(); in sortableTop()
327 int windSum = SkOpSegment::UseInnerWinding(lastWind, wind) ? wind : lastWind; in sortableTop() local
329 span->setWindSum(windSum); in sortableTop()
335 SkASSERT((hitSegment->isXor() ? (windSum & 1) == (spanSum & 1) : windSum == spanSum) in sortableTop()
337 && (windSum ^ wind ^ lastWind) == spanSum)); in sortableTop()
355 … (void) hitSegment->markAndChaseWinding(span, span->next(), windSum, oppSum, nullptr); in sortableTop()
356 … (void) hitSegment->markAndChaseWinding(span->next(), span, windSum, oppSum, nullptr); in sortableTop()
376 if (span->windSum() != SK_MinS32) { in findSortableTop()
DSkOpSegment.cpp68 if (upSpan->windSum() != SK_MinS32) { in activeAngleInner()
86 if (downSpan->windSum() != SK_MinS32) { in activeAngleInner()
425 int testWinding = angle->starter()->windSum(); in computeSum()
433 baseAngle = SK_MinS32 != angle->starter()->windSum() ? angle : nullptr; in computeSum()
436 if (baseAngle && SK_MinS32 == firstAngle->starter()->windSum()) { in computeSum()
452 int testWinding = angle->starter()->windSum(); in computeSum()
459 baseAngle = SK_MinS32 != angle->starter()->windSum() ? angle : nullptr; in computeSum()
463 return start->starter(end)->windSum(); in computeSum()
605 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextOp()
701 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextWinding()
[all …]
DSkOpSpan.cpp371 return this->windSum(); in computeWindSum()
469 void SkOpSpan::setWindSum(int windSum) { in setWindSum() argument
471 if (fWindSum != SK_MinS32 && fWindSum != windSum) { in setWindSum()
475 SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(windSum) <= DEBUG_LIMIT_WIND_SUM); in setWindSum()
476 fWindSum = windSum; in setWindSum()
DSkPathOpsCommon.cpp61 winding = segment->windSum(angle); in AngleWinding()
72 int testWinding = lesser->windSum(); in AngleWinding()
150 if (!first && (sortable || start->starter(end)->windSum() != SK_MinS32)) { in FindChase()
DSkPathOpsOp.cpp74 if (!first && (sortable || start->starter(end)->windSum() != SK_MinS32)) { in findChaseOp()
165 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeOp()
DSkOpSpan.h530 void setWindSum(int windSum);
547 int windSum() const { in windSum() function
DSkPathOpsSimplify.cpp69 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeWinding()
DSkPathOpsDebug.cpp1169 if (span->windSum() == SK_MinS32) { in debugShowActiveSpans()
1172 str->appendf(" windSum=%d", span->windSum()); in debugShowActiveSpans()
1204 if (span->windSum() == SK_MinS32) { in debugShowNewWinding()
1207 SkDebugf("%d", span->windSum()); in debugShowNewWinding()
1240 if (span->windSum() == SK_MinS32) { in debugShowNewWinding()
1243 SkDebugf("%d", span->windSum()); in debugShowNewWinding()
DSkOpSegment.h426 int windSum(const SkOpAngle* angle) const;
/external/skia/tests/
DPathOpsDebug.cpp875 SkPathOpsDebug::WindingPrintf(mSpan.windSum()); in dumpOne()
1111 SkPathOpsDebug::WindingPrintf(this->windSum()); in dumpSpan()
/external/skqp/tests/
DPathOpsDebug.cpp875 SkPathOpsDebug::WindingPrintf(mSpan.windSum()); in dumpOne()
1111 SkPathOpsDebug::WindingPrintf(this->windSum()); in dumpSpan()