Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkPathOpsPostSect.cpp65 span->upCast()->detach(kept); in removeNext()
91 SkOpSpan* span = this->upCast(); in addSimpleAngle()
287 this->upCast()->mergeAttributes(span->upCast()); in mergeBaseAttributes()
346 SkOpSpan* coinStart = coinPtTStart->span()->upCast(); in add()
348 SkOpSpan* oppStart = (flipped ? oppPtTEnd : oppPtTStart)->span()->upCast(); in add()
385 SkOpSpan* start = coin->fCoinPtTStart->span()->upCast(); in apply()
389 SkOpSpan* oStart = (flipped ? coin->fOppPtTEnd : coin->fOppPtTStart)->span()->upCast(); in apply()
400 oStart = oNext->upCast(); in apply()
464 start = next->upCast(); in apply()
465 oStart = oNext->upCast(); in apply()
[all …]
DSkOpSegment.cpp229 } while ((test = test->upCast()->next())); in addMissing()
293 } while ((span = span->upCast()->next())); in addT()
305 while ((span = span->upCast()->next())) { in align()
338 SkOpSpan* span = spanBase->upCast(); in calcAngles()
366 span = base->upCast(); in checkAngleCoin()
562 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextOp()
565 SkOpSpanBase* endNear = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextOp()
629 SkDebugf(" windSum=%d", last->upCast()->windSum()); in findNextOp()
667 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextWinding()
670 SkOpSpanBase* endNear = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); in findNextWinding()
[all …]
DSkOpSpan.h265 return result->upCast(); in starter()
271 return result->upCast(); in starter()
284 return result->upCast(); in starter()
299 SkOpSpan* upCast() { in upCast() function
304 const SkOpSpan* upCast() const { in upCast() function
310 return final() ? NULL : upCast(); in upCastable()
314 return final() ? NULL : upCast(); in upCastable()
DSkOpCoincidence.cpp198 SkOpSpan* start = coin->fCoinPtTStart->span()->upCast(); in apply()
205 SkOpSpan* oStart = (flipped ? coin->fOppPtTEnd : coin->fOppPtTStart)->span()->upCast(); in apply()
220 oStart = oNext->upCast(); in apply()
289 start = next->upCast(); in apply()
294 oStart = oNext->upCast(); in apply()
325 SkOpSpan* start = coin->fCoinPtTStart->span()->upCast(); in expand()
338 SkOpSpanBase* next = end->final() ? NULL : end->upCast()->next(); in expand()
403 next = next->upCast()->next(); in mark()
404 oNext = flipped ? oNext->prev() : oNext->upCast()->next(); in mark()
411 SkOpSpan* nextSpan = next->upCast(); in mark()
[all …]
DSkOpSegment.h258 int result = start->t() < end->t() ? -start->upCast()->oppValue() in OppSign()
259 : end->upCast()->oppValue(); in OppSign()
327 int result = start->t() < end->t() ? -start->upCast()->windValue() in SpanSign()
328 : end->upCast()->windValue(); in SpanSign()
334 return start->t() < end->t() ? start->upCast()->toAngle() : start->fromAngle(); in spanToAngle()
DSkPathOpsDebug.cpp415 done += span->upCast()->done() ? 1 : 0; in debugValidate()
418 SkASSERT(!prev || prev->upCast()->next() == span); in debugValidate()
425 } while (!span->final() && (span = span->upCast()->next())); in debugValidate()
468 SkASSERT(this->upCast()->debugCoinLoopCheck()); in debugValidate()
473 if (!this->final() && this->upCast()->toAngle()) { in debugValidate()
474 this->upCast()->toAngle()->debugValidate(); in debugValidate()
DSkPathOpsWinding.cpp199 } while (!next->final() && (span = next->upCast())); in windingSpanAtT()
370 } while (!next->final() && (span = next->upCast())); in findSortableTop()
DSkPathOpsSimplify.cpp76 SkDebugf(" windSum=%d", last->upCast()->windSum()); in bridgeWinding()
DSkOpAngle.cpp351 } while (!oSpan->final() && (oSpan = oSpan->upCast()->next())); in computeSector()
353 ? checkEnd->upCast()->next() : NULL in computeSector()
358 : checkEnd ? checkEnd->upCast()->next() : fEnd->segment()->tail(); in computeSector()
DSkOpSpan.cpp77 span->upCast()->detach(kept); in removeNext()
DSkPathOpsOp.cpp150 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.cpp941 this->upCast()->dumpSpan(); in dumpBase()
946 } else if (this->final() || !this->upCast()->isCoincident()) { in dumpBase()
1027 } while (!span->final() && (span = span->upCast()->next())); in dump()
1038 } while (!span->final() && (span = span->upCast()->next())); in dumpAll()
1047 const SkOpAngle* tAngle = span->final() ? NULL : span->upCast()->toAngle(); in dumpAngles()
1056 } while (!span->final() && (span = span->upCast()->next())); in dumpAngles()