Home
last modified time | relevance | path

Searched refs:oppPrev (Results 1 – 10 of 10) sorted by relevance

/external/skqp/src/pathops/
DSkOpSpan.h34 void addOpp(SkOpPtT* opp, SkOpPtT* oppPrev) { in addOpp() argument
38 SkASSERT(oppPrev != oldNext); in addOpp()
39 oppPrev->fNext = oldNext; in addOpp()
54 void debugAddOpp(const SkOpPtT* opp, const SkOpPtT* oppPrev) const;
104 SkOpPtT* oppPrev(const SkOpPtT* opp) const { in oppPrev() function
106 SkOpPtT* oppPrev = opp->fNext; in oppPrev() local
107 if (oppPrev == this) { in oppPrev()
110 while (oppPrev->fNext != opp) { in oppPrev()
111 oppPrev = oppPrev->fNext; in oppPrev()
112 if (oppPrev == this) { in oppPrev()
[all …]
DSkOpSpan.cpp153 SkOpPtT* oppPrev = this->ptT()->oppPrev(opp->ptT()); in addOpp() local
154 if (!oppPrev) { in addOpp()
158 this->ptT()->addOpp(opp->ptT(), oppPrev); in addOpp()
DSkOpSegment.cpp241 SkOpPtT* oppPrev = test->ptT()->oppPrev(newPtT); in addExpanded() local
242 if (oppPrev) { in addExpanded()
246 writableTest->ptT()->addOpp(newPtT, oppPrev); in addExpanded()
1293 SkOpSpanBase* oppPrev = oppSpan; in moveMultiples() local
1295 while ((oppPrev = oppPrev->prev())) { in moveMultiples()
1296 if (!roughly_equal(oppPrev->t(), oppSpan->t())) { in moveMultiples()
1299 if (oppPrev->spanAddsCount() == addCount) { in moveMultiples()
1302 if (oppPrev->deleted()) { in moveMultiples()
1305 oppFirst = oppPrev; in moveMultiples()
DSkAddIntersections.cpp526 SkOpPtT* oppPrev = testTAt->oppPrev(nextTAt); // Returns nullptr if pair in AddIntersectTs() local
527 if (oppPrev) { // already share a pt-t loop. in AddIntersectTs()
529 testTAt->addOpp(nextTAt, oppPrev); in AddIntersectTs()
DSkPathOpsDebug.cpp992 const SkOpSpanBase* oppPrev = oppSpan; in debugMoveMultiples() local
994 while ((oppPrev = oppPrev->prev())) { in debugMoveMultiples()
995 if (!roughly_equal(oppPrev->t(), oppSpan->t())) { in debugMoveMultiples()
998 if (oppPrev->spanAddsCount() == addCount) { in debugMoveMultiples()
1001 if (oppPrev->deleted()) { in debugMoveMultiples()
1004 oppFirst = oppPrev; in debugMoveMultiples()
2425 const SkOpPtT* oppPrev = this->ptT()->oppPrev(opp->ptT()); in debugAddOpp() local
2426 if (!oppPrev) { in debugAddOpp()
2430 this->ptT()->debugAddOpp(opp->ptT(), oppPrev); in debugAddOpp()
2723 void SkOpPtT::debugAddOpp(const SkOpPtT* opp, const SkOpPtT* oppPrev) const { in debugAddOpp()
[all …]
/external/skia/src/pathops/
DSkOpSpan.h34 void addOpp(SkOpPtT* opp, SkOpPtT* oppPrev) { in addOpp() argument
38 SkASSERT(oppPrev != oldNext); in addOpp()
39 oppPrev->fNext = oldNext; in addOpp()
54 void debugAddOpp(const SkOpPtT* opp, const SkOpPtT* oppPrev) const;
104 SkOpPtT* oppPrev(const SkOpPtT* opp) const { in oppPrev() function
106 SkOpPtT* oppPrev = opp->fNext; in oppPrev() local
107 if (oppPrev == this) { in oppPrev()
110 while (oppPrev->fNext != opp) { in oppPrev()
111 oppPrev = oppPrev->fNext; in oppPrev()
112 if (oppPrev == this) { in oppPrev()
[all …]
DSkOpSpan.cpp153 SkOpPtT* oppPrev = this->ptT()->oppPrev(opp->ptT()); in addOpp() local
154 if (!oppPrev) { in addOpp()
158 this->ptT()->addOpp(opp->ptT(), oppPrev); in addOpp()
DSkOpSegment.cpp241 SkOpPtT* oppPrev = test->ptT()->oppPrev(newPtT); in addExpanded() local
242 if (oppPrev) { in addExpanded()
246 writableTest->ptT()->addOpp(newPtT, oppPrev); in addExpanded()
1293 SkOpSpanBase* oppPrev = oppSpan; in moveMultiples() local
1295 while ((oppPrev = oppPrev->prev())) { in moveMultiples()
1296 if (!roughly_equal(oppPrev->t(), oppSpan->t())) { in moveMultiples()
1299 if (oppPrev->spanAddsCount() == addCount) { in moveMultiples()
1302 if (oppPrev->deleted()) { in moveMultiples()
1305 oppFirst = oppPrev; in moveMultiples()
DSkAddIntersections.cpp526 SkOpPtT* oppPrev = testTAt->oppPrev(nextTAt); // Returns nullptr if pair in AddIntersectTs() local
527 if (oppPrev) { // already share a pt-t loop. in AddIntersectTs()
529 testTAt->addOpp(nextTAt, oppPrev); in AddIntersectTs()
DSkPathOpsDebug.cpp969 const SkOpSpanBase* oppPrev = oppSpan; in debugMoveMultiples() local
971 while ((oppPrev = oppPrev->prev())) { in debugMoveMultiples()
972 if (!roughly_equal(oppPrev->t(), oppSpan->t())) { in debugMoveMultiples()
975 if (oppPrev->spanAddsCount() == addCount) { in debugMoveMultiples()
978 if (oppPrev->deleted()) { in debugMoveMultiples()
981 oppFirst = oppPrev; in debugMoveMultiples()
2402 const SkOpPtT* oppPrev = this->ptT()->oppPrev(opp->ptT()); in debugAddOpp() local
2403 if (!oppPrev) { in debugAddOpp()
2407 this->ptT()->debugAddOpp(opp->ptT(), oppPrev); in debugAddOpp()
2700 void SkOpPtT::debugAddOpp(const SkOpPtT* opp, const SkOpPtT* oppPrev) const { in debugAddOpp()
[all …]