Lines Matching refs:oppSeg
164 const SkOpSegment* oppSeg = this->oppPtTStart()->segment(); in ordered() local
167 const SkOpPtT* opp = next->contains(oppSeg); in ordered()
198 const SkOpSegment* oppSeg = oppPtTStart->segment(); in extend() local
201 swap(coinSeg, oppSeg); in extend()
215 if (oppSeg != test->oppPtTStart()->segment()) { in extend()
329 SkOpSegment* oppSeg = oppStart->segment(); in addEndMovedSpans() local
331 if (Ordered(coinSeg, oppSeg)) { in addEndMovedSpans()
338 swap(coinSeg, oppSeg); in addEndMovedSpans()
350 FAIL_IF(!this->addOrOverlap(coinSeg, oppSeg, coinTs, coinTe, oppTs, oppTe, &added)); in addEndMovedSpans()
569 const SkOpSegment* coinSeg, const SkOpSegment* oppSeg, in checkOverlap() argument
572 if (!Ordered(coinSeg, oppSeg)) { in checkOverlap()
574 return this->checkOverlap(check, oppSeg, coinSeg, oppTs, oppTe, coinTs, coinTe, in checkOverlap()
577 return this->checkOverlap(check, oppSeg, coinSeg, oppTe, oppTs, coinTe, coinTs, overlaps); in checkOverlap()
588 if (check->oppPtTStart()->segment() != oppSeg) { in checkOverlap()
620 double tStart, double tEnd, SkOpSegment* coinSeg, SkOpSegment* oppSeg, bool* added in addIfMissing() argument
633 SkASSERT(over1s->segment() != oppSeg); in addIfMissing()
634 SkASSERT(coinSeg != oppSeg); in addIfMissing()
642 oppTs = TRange(over2s, tStart, oppSeg SkDEBUGPARAMS(over2e)); in addIfMissing()
643 oppTe = TRange(over2s, tEnd, oppSeg SkDEBUGPARAMS(over2e)); in addIfMissing()
644 result = oppSeg->collapsed(oppTs, oppTe); in addIfMissing()
653 (void) this->addOrOverlap(coinSeg, oppSeg, coinTs, coinTe, oppTs, oppTe, added); in addIfMissing()
660 bool SkOpCoincidence::addOrOverlap(SkOpSegment* coinSeg, SkOpSegment* oppSeg, in addOrOverlap() argument
664 if (!this->checkOverlap(fTop, coinSeg, oppSeg, coinTs, coinTe, oppTs, oppTe, &overlaps)) { in addOrOverlap()
667 if (fHead && !this->checkOverlap(fHead, coinSeg, oppSeg, coinTs, in addOrOverlap()
694 const SkOpPtT* cs = coinSeg->existing(coinTs, oppSeg); in addOrOverlap()
695 const SkOpPtT* ce = coinSeg->existing(coinTe, oppSeg); in addOrOverlap()
700 const SkOpPtT* os = oppSeg->existing(oppTs, coinSeg); in addOrOverlap()
701 const SkOpPtT* oe = oppSeg->existing(oppTe, coinSeg); in addOrOverlap()
716 const SkOpPtT* osExisting = !os ? oppSeg->existing(oppTs, nullptr) : nullptr; in addOrOverlap()
717 const SkOpPtT* oeExisting = !oe ? oppSeg->existing(oppTe, nullptr) : nullptr; in addOrOverlap()
732 : oppSeg->addT(oppTs); in addOrOverlap()
744 : oppSeg->addT(oppTe); in addOrOverlap()
969 const SkOpSegment* oppSeg = oppPtTStart->segment(); in contains() local
972 swap(coinSeg, oppSeg); in contains()
992 if (oppSeg != test->oppPtTStart()->segment()) { in contains()
1403 bool SkOpCoincidence::Ordered(const SkOpSegment* coinSeg, const SkOpSegment* oppSeg) { in Ordered() argument
1404 if (coinSeg->verb() < oppSeg->verb()) { in Ordered()
1407 if (coinSeg->verb() > oppSeg->verb()) { in Ordered()
1412 const SkScalar* oPt = &oppSeg->pts()[0].fX; in Ordered()