Searched refs:oppValue (Results 1 - 8 of 8) sorted by relevance

/external/skia/src/pathops/
H A DSkOpCoincidence.cpp225 int oppValue = start->oppValue(); local
227 int oOppValue = oStart->oppValue();
231 int oWindDiff = operandSwap ? oppValue : windValue;
243 oppValue -= oOppValue;
246 oppValue += oOppValue;
252 oppValue &= 1;
257 SkTSwap(windValue, oppValue);
261 oOppValue -= oppValue;
264 oOppValue += oppValue;
[all...]
H A DSkPathOpsPostSect.cpp79 // FIXME? assert that only one other span has a valid windValue or oppValue
408 int oppValue = start->oppValue(); local
409 int oOppValue = oStart->oppValue();
418 oppValue -= oOppValue;
421 oppValue += oOppValue;
427 oppValue &= 1;
432 SkTSwap(windValue, oppValue);
436 oOppValue -= oppValue;
439 oOppValue += oppValue;
[all...]
H A DSkPathOpsWinding.cpp174 } else if (!span->windValue() && !span->oppValue()) {
296 if (span->windValue() == 0 && span->oppValue() == 0) {
315 int oppValue = ccw ? -span->oppValue() : span->oppValue(); local
317 oppWind += oppValue;
H A DSkPathOpsDebug.cpp208 if (span->oppValue() && span->oppSum() == SK_MinS32) {
210 } else if (span->oppValue() || span->oppSum() != SK_MinS32) {
214 if (span->oppValue() || span->oppSum() != SK_MinS32) {
215 SkDebugf(" oppValue=%d", span->oppValue());
279 SkDebugf(" windValue=%d oppValue=%d\n", span->windValue(), span->oppValue());
350 || between(-DEBUG_LIMIT_WIND_SUM, minSpan->oppValue(), DEBUG_LIMIT_WIND_SUM));
354 wind += next->debugSign() * (op ? minSpan->oppValue() : minSpan->windValue());
361 opp += next->debugSign() * (op ? minSpan->windValue() : minSpan->oppValue());
[all...]
H A DSkOpSpan.h403 int oppValue() const { function in class:SkOpSpan
422 void setOppValue(int oppValue) { argument
425 fOppValue = oppValue;
H A DSkOpSegment.h258 int result = start->t() < end->t() ? -start->upCast()->oppValue()
259 : end->upCast()->oppValue();
H A DSkOpSegment.cpp60 if (upSpan->windValue() || upSpan->oppValue()) {
79 if (downSpan->windValue() || downSpan->oppValue()) {
1082 || foundMin->oppValue() != origMin->oppValue()) {
/external/skia/tests/
H A DPathOpsDebug.cpp768 if (mSpan.oppValue() != 0 || mSpan.oppSum() != SK_MinS32) {
769 SkDebugf(" oppVal=%d", mSpan.oppValue());
986 if (this->oppValue() != 0 || this->oppSum() != SK_MinS32) {
987 SkDebugf(" oppVal=%d", this->oppValue());

Completed in 148 milliseconds