Home
last modified time | relevance | path

Searched refs:oppValue (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/pathops/
DSkOpCoincidence.cpp406 int oppValue = start->oppValue(); in apply() local
408 int oOppValue = oStart->oppValue(); in apply()
412 int oWindDiff = operandSwap ? oppValue : windValue; in apply()
424 oppValue -= oOppValue; in apply()
427 oppValue += oOppValue; in apply()
433 oppValue &= 1; in apply()
438 SkTSwap(windValue, oppValue); in apply()
442 oOppValue -= oppValue; in apply()
445 oOppValue += oppValue; in apply()
453 windValue = oppValue = 0; in apply()
[all …]
DSkPathOpsWinding.cpp174 } else if (!span->windValue() && !span->oppValue()) { in rayCheck()
296 if (span->windValue() == 0 && span->oppValue() == 0) { in sortableTop()
315 int oppValue = ccw ? -span->oppValue() : span->oppValue(); in sortableTop() local
317 oppWind += oppValue; in sortableTop()
DSkOpSpan.h451 int oppValue() const { in oppValue() function
470 void setOppValue(int oppValue) { in setOppValue() argument
473 fOppValue = oppValue; in setOppValue()
DSkPathOpsDebug.cpp533 if (span->oppValue()) { in debugAlign()
882 if (span->oppValue() && span->oppSum() == SK_MinS32) { in debugShowActiveSpans()
884 } else if (span->oppValue() || span->oppSum() != SK_MinS32) { in debugShowActiveSpans()
888 if (span->oppValue() || span->oppSum() != SK_MinS32) { in debugShowActiveSpans()
889 SkDebugf(" oppValue=%d", span->oppValue()); in debugShowActiveSpans()
953 SkDebugf(" windValue=%d oppValue=%d\n", span->windValue(), span->oppValue()); in debugShowNewWinding()
1069 || between(-DEBUG_LIMIT_WIND_SUM, minSpan->oppValue(), DEBUG_LIMIT_WIND_SUM)); in debugValidate()
1073 wind += next->debugSign() * (op ? minSpan->oppValue() : minSpan->windValue()); in debugValidate()
1080 opp += next->debugSign() * (op ? minSpan->windValue() : minSpan->oppValue()); in debugValidate()
DSkOpSegment.h285 int result = start->t() < end->t() ? -start->upCast()->oppValue() in OppSign()
286 : end->upCast()->oppValue(); in OppSign()
DSkOpSegment.cpp60 if (upSpan->windValue() || upSpan->oppValue()) { in activeAngleInner()
79 if (downSpan->windValue() || downSpan->oppValue()) { in activeAngleInner()
1165 || foundMin->oppValue() != origMin->oppValue()) { in nextChase()
/external/skia/tests/
DPathOpsDebug.cpp839 if (mSpan.oppValue() != 0 || mSpan.oppSum() != SK_MinS32) { in dumpOne()
840 SkDebugf(" oppVal=%d", mSpan.oppValue()); in dumpOne()
1057 if (this->oppValue() != 0 || this->oppSum() != SK_MinS32) { in dumpSpan()
1058 SkDebugf(" oppVal=%d", this->oppValue()); in dumpSpan()