Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkPathOpsWinding.cpp319 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()
345 (void) hitSegment->markAndChaseWinding(span, span->next(), windSum, oppSum, NULL); in sortableTop()
346 (void) hitSegment->markAndChaseWinding(span->next(), span, windSum, oppSum, NULL); in sortableTop()
364 if (span->windSum() != SK_MinS32) { in findSortableTop()
DSkOpSpan.cpp259 return this->windSum(); in computeWindSum()
309 void SkOpSpan::setWindSum(int windSum) { in setWindSum() argument
311 if (fWindSum != SK_MinS32 && fWindSum != windSum) { in setWindSum()
315 SkASSERT(!DEBUG_LIMIT_WIND_SUM || abs(windSum) <= DEBUG_LIMIT_WIND_SUM); in setWindSum()
316 fWindSum = windSum; in setWindSum()
DSkOpSegment.cpp67 if (upSpan->windSum() != SK_MinS32) { in activeAngleInner()
85 if (downSpan->windSum() != SK_MinS32) { in activeAngleInner()
466 int testWinding = angle->starter()->windSum(); in computeSum()
474 baseAngle = SK_MinS32 != angle->starter()->windSum() ? angle : NULL; in computeSum()
477 if (baseAngle && SK_MinS32 == firstAngle->starter()->windSum()) { in computeSum()
493 int testWinding = angle->starter()->windSum(); in computeSum()
500 baseAngle = SK_MinS32 != angle->starter()->windSum() ? angle : NULL; in computeSum()
504 return start->starter(end)->windSum(); in computeSum()
629 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextOp()
725 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextWinding()
[all …]
DSkPathOpsDebug.cpp203 if (span->windSum() == SK_MinS32) { in debugShowActiveSpans()
206 SkDebugf(" windSum=%d", span->windSum()); in debugShowActiveSpans()
238 if (span->windSum() == SK_MinS32) { in debugShowNewWinding()
241 SkDebugf("%d", span->windSum()); in debugShowNewWinding()
274 if (span->windSum() == SK_MinS32) { in debugShowNewWinding()
277 SkDebugf("%d", span->windSum()); in debugShowNewWinding()
DSkPathOpsCommon.cpp36 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()
DSkOpSpan.h433 void setWindSum(int windSum);
449 int windSum() const { in windSum() function
DSkPathOpsOp.cpp63 if (!first && (sortable || start->starter(end)->windSum() != SK_MinS32)) { in findChaseOp()
150 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeOp()
DSkPathOpsSimplify.cpp76 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeWinding()
DSkOpSegment.h376 int windSum(const SkOpAngle* angle) const;
/external/skia/tests/
DPathOpsDebug.cpp767 SkPathOpsDebug::WindingPrintf(mSpan.windSum()); in dumpOne()
985 SkPathOpsDebug::WindingPrintf(this->windSum()); in dumpSpan()