Home
last modified time | relevance | path

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

/third_party/skia/src/pathops/
DSkOpSegment.cpp223 } while ((test = test->upCast()->next())); in existing()
277 } while ((spanBase = spanBase->upCast()->next())); in addT()
299 SkOpSpan* span = spanBase->upCast(); in calcAngles()
339 } while (span->upCastable() && (span = span->upCast()->next())); in collapsed()
493 spanBase = spanBase->upCast()->next(); in contains()
557 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextOp()
560 SkOpSpanBase* endNear = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextOp()
625 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextOp()
663 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextWinding()
666 SkOpSpanBase* endNear = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextWinding()
[all …]
DSkOpCoincidence.cpp39 : origSpan->upCast()->next()->prev()->ptT(); in correctOneEnd()
63 const SkOpSpan* start = coinPtTStart()->span()->upCast(); in expand()
78 SkOpSpanBase* next = end->final() ? nullptr : end->upCast()->next(); in expand()
158 const SkOpSpanBase* next = start->upCast()->next(); in ordered()
184 next = next->upCast()->next(); in ordered()
359 const SkOpSpan* base = ptT->span()->upCast(); in addEndMovedSpans()
451 const SkOpSpanBase* test = start->upCast()->next(); in addExpanded()
453 const SkOpSpanBase* oTest = coin->flipped() ? oStart->prev() : oStart->upCast()->next(); in addExpanded()
475 walk = walk->upCast()->next(); in addExpanded()
508 test = test->upCast()->next(); in addExpanded()
[all …]
DSkOpSpan.h349 return result->upCast(); in starter()
355 return result->upCast(); in starter()
368 return result->upCast(); in starter()
383 SkOpSpan* upCast() { in upCast() function
388 const SkOpSpan* upCast() const { in upCast() function
394 return final() ? nullptr : upCast(); in upCastable()
398 return final() ? nullptr : upCast(); in upCastable()
DSkPathOpsDebug.cpp749 } while ((span = span->upCast()->next())); in debugAddT()
767 span = base->upCast(); in debugCheckAngleCoin()
824 } while (!span->final() && (span = span->upCast()->next())); in DebugClearVisited()
938 } while ((spanBase = spanBase->final() ? nullptr : spanBase->upCast()->next())); in debugMissingCoincidence()
985 while ((oppNext = oppNext->final() ? nullptr : oppNext->upCast()->next())) { in debugMoveMultiples()
1030 } while (oppTest != oppLast && (oppTest = oppTest->upCast()->next())); in debugMoveMultiples()
1034 } while ((test = test->final() ? nullptr : test->upCast()->next())); in debugMoveMultiples()
1064 spanBase = spanBase->upCast()->next(); in debugMoveNearby()
1070 const SkOpSpanBase* test = spanBase->upCast()->next(); in debugMoveNearby()
1404 : origSpan->upCast()->next()->prev()->ptT(); in debugCorrectOneEnd()
[all …]
DSkOpSegment.h301 int result = start->t() < end->t() ? -start->upCast()->oppValue() in OppSign()
302 : end->upCast()->oppValue(); in OppSign()
375 int result = start->t() < end->t() ? -start->upCast()->windValue() in SpanSign()
376 : end->upCast()->windValue(); in SpanSign()
382 return start->t() < end->t() ? start->upCast()->toAngle() : start->fromAngle(); in spanToAngle()
DSkOpSpan.cpp340 innerBase->upCast()->release(test); in mergeMatches()
344 testBase->upCast()->release(inner); in mergeMatches()
422 span = const_cast<SkOpSpan*>(start->span()->upCast()); in insertCoincidence()
428 span = base->upCast(); in insertCoincidence()
DSkPathWriter.cpp232 SkOpSpanBase* start = opPtT->fT ? opSpanBase->prev() : opSpanBase->upCast()->next(); in assemble()
239 SkOpSpanBase* opSpanEnd = start->t() ? start->prev() : start->upCast()->next(); in assemble()
DSkPathOpsWinding.cpp202 } while (!next->final() && (span = next->upCast())); in windingSpanAtT()
387 } while (!next->final() && (span = next->upCast())); in findSortableTop()
DSkPathOpsSimplify.cpp72 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeWinding()
DSkOpAngle.cpp412 } while (!oSpan->final() && (oSpan = oSpan->upCast()->next())); in computeSector()
414 ? checkEnd->upCast()->next() : nullptr in computeSector()
419 : checkEnd ? checkEnd->upCast()->next() : fEnd->segment()->tail(); in computeSector()
DSkPathOpsOp.cpp186 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeOp()
/third_party/skia/tests/
DPathOpsAngleTest.cpp486 startSpan = startSpan->upCast()->next(); in debugAddAngle()
490 endSpan = endSpan->upCast()->next(); in debugAddAngle()
494 startSpan->upCast()->setToAngle(angle); in debugAddAngle()
497 endSpan->upCast()->setToAngle(angle); in debugAddAngle()
DPathOpsDebug.cpp751 this->upCast()->dumpSpan(); in dumpBase()
756 } else if (this->final() || !this->upCast()->isCoincident()) { in dumpBase()
841 } while (!span->final() && (span = span->upCast()->next())); in dump()
852 } while (!span->final() && (span = span->upCast()->next())); in dumpAll()
861 const SkOpAngle* tAngle = span->final() ? nullptr : span->upCast()->toAngle(); in dumpAngles()
870 } while (!span->final() && (span = span->upCast()->next())); in dumpAngles()