Home
last modified time | relevance | path

Searched refs:windValue (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/src/pathops/
DSkOpCoincidence.cpp900 if (!s1->starter(e1)->span()->upCast()->windValue()) { in addOverlap()
905 if (!s1->starter(e1)->span()->upCast()->windValue()) { in addOverlap()
913 if (!s2->starter(e2)->span()->upCast()->windValue()) { in addOverlap()
918 if (!s2->starter(e2)->span()->upCast()->windValue()) { in addOverlap()
1060 int windValue = start->windValue(); in apply() local
1062 int oWindValue = oStart->windValue(); in apply()
1067 int oWindDiff = operandSwap ? oppValue : windValue; in apply()
1072 bool addToStart = windValue && (windValue > windDiff || (windValue == windDiff in apply()
1083 windValue -= oWindValue; in apply()
1086 windValue += oWindValue; in apply()
[all …]
DSkPathOpsWinding.cpp177 } else if (!span->windValue() && !span->oppValue()) { in rayCheck()
306 if (span->windValue() == 0 && span->oppValue() == 0) { in sortableTop()
325 int windValue = ccw ? -span->windValue() : span->windValue(); in sortableTop() local
327 wind += windValue; in sortableTop()
DSkOpSpan.h540 void setWindValue(int windValue) { in setWindValue() argument
542 SkASSERT(windValue >= 0); in setWindValue()
544 SkOPASSERT(!windValue || !fDone); in setWindValue()
545 fWindValue = windValue; in setWindValue()
560 int windValue() const { in windValue() function
DSkOpSegment.h375 int result = start->t() < end->t() ? -start->upCast()->windValue() in SpanSign()
376 : end->upCast()->windValue(); in SpanSign()
DSkPathOpsDebug.cpp795 if (span->windValue()) glitches->record(SkPathOpsDebug::kCollapsedWindValue_Glitch, span); in debugClearOne()
1158 str->appendf(" windValue=%d", span->windValue()); in debugShowActiveSpans()
1188 SkDebugf(" windValue=%d\n", span->windValue()); in debugShowNewWinding()
1224 SkDebugf(" windValue=%d oppValue=%d\n", span->windValue(), span->oppValue()); in debugShowNewWinding()
1337 if (minSpan->windValue() == SK_MinS32) { in debugValidate()
1343 SkASSERT(!DEBUG_LIMIT_WIND_SUM || between(0, minSpan->windValue(), DEBUG_LIMIT_WIND_SUM)); in debugValidate()
1349 wind += next->debugSign() * (op ? minSpan->oppValue() : minSpan->windValue()); in debugValidate()
1356 opp += next->debugSign() * (op ? minSpan->windValue() : minSpan->oppValue()); in debugValidate()
DSkOpSegment.cpp63 if (upSpan->windValue() || upSpan->oppValue()) { in activeAngleInner()
82 if (downSpan->windValue() || downSpan->oppValue()) { in activeAngleInner()
1121 if (foundMin->windValue() != origMin->windValue() in nextChase()
/third_party/flutter/skia/src/pathops/
DSkOpCoincidence.cpp900 if (!s1->starter(e1)->span()->upCast()->windValue()) { in addOverlap()
905 if (!s1->starter(e1)->span()->upCast()->windValue()) { in addOverlap()
913 if (!s2->starter(e2)->span()->upCast()->windValue()) { in addOverlap()
918 if (!s2->starter(e2)->span()->upCast()->windValue()) { in addOverlap()
1060 int windValue = start->windValue(); in apply() local
1062 int oWindValue = oStart->windValue(); in apply()
1067 int oWindDiff = operandSwap ? oppValue : windValue; in apply()
1072 bool addToStart = windValue && (windValue > windDiff || (windValue == windDiff in apply()
1083 windValue -= oWindValue; in apply()
1086 windValue += oWindValue; in apply()
[all …]
DSkPathOpsWinding.cpp176 } else if (!span->windValue() && !span->oppValue()) { in rayCheck()
305 if (span->windValue() == 0 && span->oppValue() == 0) { in sortableTop()
324 int windValue = ccw ? -span->windValue() : span->windValue(); in sortableTop() local
326 wind += windValue; in sortableTop()
DSkOpSpan.h540 void setWindValue(int windValue) { in setWindValue() argument
542 SkASSERT(windValue >= 0); in setWindValue()
544 SkOPASSERT(!windValue || !fDone); in setWindValue()
545 fWindValue = windValue; in setWindValue()
560 int windValue() const { in windValue() function
DSkOpSegment.h375 int result = start->t() < end->t() ? -start->upCast()->windValue() in SpanSign()
376 : end->upCast()->windValue(); in SpanSign()
DSkPathOpsDebug.cpp817 if (span->windValue()) glitches->record(SkPathOpsDebug::kCollapsedWindValue_Glitch, span); in debugClearOne()
1180 str->appendf(" windValue=%d", span->windValue()); in debugShowActiveSpans()
1210 SkDebugf(" windValue=%d\n", span->windValue()); in debugShowNewWinding()
1246 SkDebugf(" windValue=%d oppValue=%d\n", span->windValue(), span->oppValue()); in debugShowNewWinding()
1359 if (minSpan->windValue() == SK_MinS32) { in debugValidate()
1365 SkASSERT(!DEBUG_LIMIT_WIND_SUM || between(0, minSpan->windValue(), DEBUG_LIMIT_WIND_SUM)); in debugValidate()
1371 wind += next->debugSign() * (op ? minSpan->oppValue() : minSpan->windValue()); in debugValidate()
1378 opp += next->debugSign() * (op ? minSpan->windValue() : minSpan->oppValue()); in debugValidate()
DSkOpSegment.cpp63 if (upSpan->windValue() || upSpan->oppValue()) { in activeAngleInner()
82 if (downSpan->windValue() || downSpan->oppValue()) { in activeAngleInner()
1121 if (foundMin->windValue() != origMin->windValue() in nextChase()
/third_party/flutter/skia/tests/
DPathOpsDebug.cpp556 SkDebugf(" sgn=%d windVal=%d", this->debugSign(), mSpan.windValue()); in dumpOne()
793 SkDebugf(" windVal=%d", this->windValue()); in dumpSpan()
/third_party/skia/tests/
DPathOpsDebug.cpp556 SkDebugf(" sgn=%d windVal=%d", this->debugSign(), mSpan.windValue()); in dumpOne()
793 SkDebugf(" windVal=%d", this->windValue()); in dumpSpan()