Home
last modified time | relevance | path

Searched refs:upCast (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/pathops/
DSkOpCoincidence.cpp91 SkOpSpanBase* test = start->upCast()->next(); in addExpanded()
92 SkOpSpanBase* oTest = coin->fFlipped ? oStart->prev() : oStart->upCast()->next(); in addExpanded()
132 test = test->upCast()->next(); in addExpanded()
135 oTest = coin->fFlipped ? oTest->prev() : oTest->upCast()->next(); in addExpanded()
327 if (!s1->starter(e1)->span()->upCast()->windValue()) { in addOverlap()
330 if (!s1->starter(e1)->span()->upCast()->windValue()) { in addOverlap()
336 if (!s2->starter(e2)->span()->upCast()->windValue()) { in addOverlap()
339 if (!s2->starter(e2)->span()->upCast()->windValue()) { in addOverlap()
376 SkOpSpan* start = coin->fCoinPtTStart->span()->upCast(); in apply()
383 SkOpSpan* oStart = (flipped ? coin->fOppPtTEnd : coin->fOppPtTStart)->span()->upCast(); in apply()
[all …]
DSkOpSegment.cpp231 checkSpan = checkSpan->upCast()->next(); in addAlignIntersection()
312 } while ((test = test->upCast()->next())); in addMissing()
379 } while ((span = span->upCast()->next())); in addT()
391 while ((span = span->upCast()->next())) { in align()
424 SkOpSpan* span = spanBase->upCast(); in calcAngles()
638 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextOp()
641 SkOpSpanBase* endNear = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextOp()
705 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextOp()
743 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextWinding()
746 SkOpSpanBase* endNear = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextWinding()
[all …]
DSkOpSpan.h305 return result->upCast(); in starter()
311 return result->upCast(); in starter()
324 return result->upCast(); in starter()
339 SkOpSpan* upCast() { in upCast() function
344 const SkOpSpan* upCast() const { in upCast() function
350 return final() ? nullptr : upCast(); in upCastable()
354 return final() ? nullptr : upCast(); in upCastable()
DSkPathOpsDebug.cpp484 checkSpan = checkSpan->upCast()->next(); in debugAddAlignIntersection()
505 } while ((test = test->upCast()->next())); in debugAddMissing()
516 while ((span = span->upCast()->next())) { in debugAlign()
556 span = base->upCast(); in debugCheckAngleCoin()
701 } while ((spanBase = spanBase->final() ? nullptr : spanBase->upCast()->next())); in debugMissingCoincidence()
743 while ((oppNext = oppNext->final() ? nullptr : oppNext->upCast()->next())) { in debugMoveMultiples()
791 } while (oppTest != oppLast && (oppTest = oppTest->upCast()->next())); in debugMoveMultiples()
795 } while ((test = test->final() ? nullptr : test->upCast()->next())); in debugMoveMultiples()
801 const SkOpSpanBase* test = spanS->upCast()->next(); in debugMoveNearby()
812 next = test->final() ? nullptr : test->upCast()->next(); in debugMoveNearby()
[all …]
DSkOpSegment.h285 int result = start->t() < end->t() ? -start->upCast()->oppValue() in OppSign()
286 : end->upCast()->oppValue(); in OppSign()
350 int result = start->t() < end->t() ? -start->upCast()->windValue() in SpanSign()
351 : end->upCast()->windValue(); in SpanSign()
357 return start->t() < end->t() ? start->upCast()->toAngle() : start->fromAngle(); in spanToAngle()
DSkPathOpsWinding.cpp199 } while (!next->final() && (span = next->upCast())); in windingSpanAtT()
375 } while (!next->final() && (span = next->upCast())); in findSortableTop()
DSkPathOpsSimplify.cpp82 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeWinding()
DSkOpAngle.cpp303 } while (!oSpan->final() && (oSpan = oSpan->upCast()->next())); in computeSector()
305 ? checkEnd->upCast()->next() : nullptr in computeSector()
310 : checkEnd ? checkEnd->upCast()->next() : fEnd->segment()->tail(); in computeSector()
DSkOpSpan.cpp141 span->upCast()->detach(kept); in removeNext()
DSkPathOpsOp.cpp156 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeOp()
/external/skia/tests/
DPathOpsAngleTest.cpp483 startSpan = startSpan->upCast()->next(); in debugAddAngle()
487 endSpan = endSpan->upCast()->next(); in debugAddAngle()
491 startSpan->upCast()->setToAngle(angle); in debugAddAngle()
494 endSpan->upCast()->setToAngle(angle); in debugAddAngle()
DPathOpsDebug.cpp1012 this->upCast()->dumpSpan(); in dumpBase()
1017 } else if (this->final() || !this->upCast()->isCoincident()) { in dumpBase()
1098 } while (!span->final() && (span = span->upCast()->next())); in dump()
1109 } while (!span->final() && (span = span->upCast()->next())); in dumpAll()
1118 const SkOpAngle* tAngle = span->final() ? nullptr : span->upCast()->toAngle(); in dumpAngles()
1127 } while (!span->final() && (span = span->upCast()->next())); in dumpAngles()