/third_party/skia/src/pathops/ |
D | SkOpSpan.cpp | 13 return this->span()->ptT() != this; in alias() 20 const SkOpPtT* ptT = this; in active() local 21 const SkOpPtT* stopPtT = ptT; in active() 22 while ((ptT = ptT->next()) != stopPtT) { in active() 23 if (ptT->fSpan == fSpan && !ptT->fDeleted) { in active() 24 return ptT; in active() 32 const SkOpPtT* ptT = this; in contains() local 33 const SkOpPtT* stopPtT = ptT; in contains() 34 while ((ptT = ptT->next()) != stopPtT) { in contains() 35 if (ptT == check) { in contains() [all …]
|
D | SkOpCoincidence.h | 32 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) ); 38 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) const) const; 81 void setCoinPtTEnd(const SkOpPtT* ptT) { in setCoinPtTEnd() argument 82 SkOPASSERT(ptT == ptT->span()->ptT()); in setCoinPtTEnd() 83 SkOPASSERT(!fCoinPtTStart || ptT->fT != fCoinPtTStart->fT); in setCoinPtTEnd() 84 SkASSERT(!fCoinPtTStart || fCoinPtTStart->segment() == ptT->segment()); in setCoinPtTEnd() 85 fCoinPtTEnd = ptT; in setCoinPtTEnd() 86 ptT->setCoincident(); in setCoinPtTEnd() 89 void setCoinPtTStart(const SkOpPtT* ptT) { in setCoinPtTStart() argument 90 SkOPASSERT(ptT == ptT->span()->ptT()); in setCoinPtTStart() [all …]
|
D | SkPathOpsDebug.cpp | 129 const SkOpPtT* ptT) { in record() 132 glitch->fCoinSpan = ptT; in record() 220 const SkOpPtT* ptT) { in record() 223 glitch->fEndSpan = ptT; in record() 729 const SkOpPtT* result = span->ptT(); in debugAddT() 819 const SkOpPtT* ptT = span->ptT(), * stopPtT = ptT; in DebugClearVisited() local 820 while ((ptT = ptT->next()) != stopPtT) { in DebugClearVisited() 821 const SkOpSegment* opp = ptT->segment(); in DebugClearVisited() 847 const SkOpPtT* ptT = spanBase->ptT(), * spanStopPtT = ptT; in debugMissingCoincidence() local 848 SkASSERT(ptT->span() == spanBase); in debugMissingCoincidence() [all …]
|
D | SkOpSegment.cpp | 102 SkOpPtT* oPtT = start->ptT()->next(); in activeAngleOther() 175 path->deferredMove(start->ptT()); in addCurveTo() 178 FAIL_IF(!path->deferredLine(end->ptT())); in addCurveTo() 181 path->quadTo(curvePart.fCurve.fQuad[1].asSkPoint(), end->ptT()); in addCurveTo() 184 path->conicTo(curvePart.fCurve.fConic[1].asSkPoint(), end->ptT(), in addCurveTo() 189 curvePart.fCurve.fCubic[2].asSkPoint(), end->ptT()); in addCurveTo() 202 testPtT = test->ptT(); in existing() 241 SkOpPtT* oppPrev = test->ptT()->oppPrev(newPtT); in addExpanded() 246 writableTest->ptT()->addOpp(newPtT, oppPrev); in addExpanded() 257 SkOpPtT* result = spanBase->ptT(); in addT() [all …]
|
D | SkOpCoincidence.cpp | 34 void (SkCoincidentSpans::*setEnd)(const SkOpPtT* ptT) ) { in correctOneEnd() argument 38 const SkOpPtT* testPtT = prev ? prev->next()->ptT() in correctOneEnd() 39 : origSpan->upCast()->next()->prev()->ptT(); in correctOneEnd() 73 setStarts(prev->ptT(), oppPtT); in expand() 90 setEnds(next->ptT(), oppPtT); in expand() 262 coinPtTStart = coinPtTStart->span()->ptT(); in add() 263 coinPtTEnd = coinPtTEnd->span()->ptT(); in add() 264 oppPtTStart = oppPtTStart->span()->ptT(); in add() 265 oppPtTEnd = oppPtTEnd->span()->ptT(); in add() 282 const SkOpPtT* testPtT = testSpan->ptT(); in addEndMovedSpans() [all …]
|
D | SkOpSegment.h | 240 SkDEBUGCODE(result->ptT()->fT = 0); in insert() 269 fTail.ptT()->addOpp(start->fHead.ptT(), start->fHead.ptT()); in joinEnds() 395 bool testForCoincidence(const SkOpPtT* priorPtT, const SkOpPtT* ptT, const SkOpSpanBase* prior,
|
D | SkPathWriter.cpp | 176 bool SkPathWriter::changedSlopes(const SkOpPtT* ptT) const { in changedSlopes() 181 SkVector lineDxdy = ptT->fPt - fDefer[1]->fPt; in changedSlopes() 244 opPtT = opSpanEnd->ptT(); in assemble()
|
D | SkOpSpan.h | 310 const SkOpPtT* ptT() const { in ptT() function 314 SkOpPtT* ptT() { in ptT() function
|
D | SkPathOpsCommon.cpp | 88 *startPtr = span->ptT()->next()->span(); in FindChase()
|
D | SkPathOpsOp.cpp | 21 *startPtr = span->ptT()->prev()->span(); in findChaseOp()
|
/third_party/flutter/skia/src/pathops/ |
D | SkOpSpan.cpp | 13 return this->span()->ptT() != this; in alias() 20 const SkOpPtT* ptT = this; in active() local 21 const SkOpPtT* stopPtT = ptT; in active() 22 while ((ptT = ptT->next()) != stopPtT) { in active() 23 if (ptT->fSpan == fSpan && !ptT->fDeleted) { in active() 24 return ptT; in active() 32 const SkOpPtT* ptT = this; in contains() local 33 const SkOpPtT* stopPtT = ptT; in contains() 34 while ((ptT = ptT->next()) != stopPtT) { in contains() 35 if (ptT == check) { in contains() [all …]
|
D | SkOpCoincidence.h | 32 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) ); 38 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) const) const; 81 void setCoinPtTEnd(const SkOpPtT* ptT) { in setCoinPtTEnd() argument 82 SkOPASSERT(ptT == ptT->span()->ptT()); in setCoinPtTEnd() 83 SkOPASSERT(!fCoinPtTStart || ptT->fT != fCoinPtTStart->fT); in setCoinPtTEnd() 84 SkASSERT(!fCoinPtTStart || fCoinPtTStart->segment() == ptT->segment()); in setCoinPtTEnd() 85 fCoinPtTEnd = ptT; in setCoinPtTEnd() 86 ptT->setCoincident(); in setCoinPtTEnd() 89 void setCoinPtTStart(const SkOpPtT* ptT) { in setCoinPtTStart() argument 90 SkOPASSERT(ptT == ptT->span()->ptT()); in setCoinPtTStart() [all …]
|
D | SkPathOpsDebug.cpp | 129 const SkOpPtT* ptT) { in record() 132 glitch->fCoinSpan = ptT; in record() 220 const SkOpPtT* ptT) { in record() 223 glitch->fEndSpan = ptT; in record() 751 const SkOpPtT* result = span->ptT(); in debugAddT() 841 const SkOpPtT* ptT = span->ptT(), * stopPtT = ptT; in DebugClearVisited() local 842 while ((ptT = ptT->next()) != stopPtT) { in DebugClearVisited() 843 const SkOpSegment* opp = ptT->segment(); in DebugClearVisited() 869 const SkOpPtT* ptT = spanBase->ptT(), * spanStopPtT = ptT; in debugMissingCoincidence() local 870 SkASSERT(ptT->span() == spanBase); in debugMissingCoincidence() [all …]
|
D | SkOpSegment.cpp | 102 SkOpPtT* oPtT = start->ptT()->next(); in activeAngleOther() 175 path->deferredMove(start->ptT()); in addCurveTo() 178 FAIL_IF(!path->deferredLine(end->ptT())); in addCurveTo() 181 path->quadTo(curvePart.fCurve.fQuad[1].asSkPoint(), end->ptT()); in addCurveTo() 184 path->conicTo(curvePart.fCurve.fConic[1].asSkPoint(), end->ptT(), in addCurveTo() 189 curvePart.fCurve.fCubic[2].asSkPoint(), end->ptT()); in addCurveTo() 202 testPtT = test->ptT(); in existing() 241 SkOpPtT* oppPrev = test->ptT()->oppPrev(newPtT); in addExpanded() 246 writableTest->ptT()->addOpp(newPtT, oppPrev); in addExpanded() 257 SkOpPtT* result = spanBase->ptT(); in addT() [all …]
|
D | SkOpCoincidence.cpp | 34 void (SkCoincidentSpans::*setEnd)(const SkOpPtT* ptT) ) { in correctOneEnd() argument 38 const SkOpPtT* testPtT = prev ? prev->next()->ptT() in correctOneEnd() 39 : origSpan->upCast()->next()->prev()->ptT(); in correctOneEnd() 73 setStarts(prev->ptT(), oppPtT); in expand() 90 setEnds(next->ptT(), oppPtT); in expand() 262 coinPtTStart = coinPtTStart->span()->ptT(); in add() 263 coinPtTEnd = coinPtTEnd->span()->ptT(); in add() 264 oppPtTStart = oppPtTStart->span()->ptT(); in add() 265 oppPtTEnd = oppPtTEnd->span()->ptT(); in add() 282 const SkOpPtT* testPtT = testSpan->ptT(); in addEndMovedSpans() [all …]
|
D | SkOpSegment.h | 240 SkDEBUGCODE(result->ptT()->fT = 0); in insert() 269 fTail.ptT()->addOpp(start->fHead.ptT(), start->fHead.ptT()); in joinEnds() 395 bool testForCoincidence(const SkOpPtT* priorPtT, const SkOpPtT* ptT, const SkOpSpanBase* prior,
|
D | SkPathWriter.cpp | 176 bool SkPathWriter::changedSlopes(const SkOpPtT* ptT) const { in changedSlopes() 181 SkVector lineDxdy = ptT->fPt - fDefer[1]->fPt; in changedSlopes() 247 opPtT = opSpanEnd->ptT(); in assemble()
|
D | SkOpSpan.h | 310 const SkOpPtT* ptT() const { in ptT() function 314 SkOpPtT* ptT() { in ptT() function
|
D | SkPathOpsCommon.cpp | 88 *startPtr = span->ptT()->next()->span(); in FindChase()
|
D | SkPathOpsOp.cpp | 21 *startPtr = span->ptT()->prev()->span(); in findChaseOp()
|
/third_party/flutter/skia/tests/ |
D | PathOpsDebug.cpp | 279 const SkOpAngle* PtTAngle(const SkOpPtT* ptT, int id) { in PtTAngle() argument 280 return ptT->debugAngle(id); in PtTAngle() 283 SkOpContour* PtTContour(SkOpPtT* ptT, int id) { in PtTContour() argument 284 return ptT->debugContour(id); in PtTContour() 287 const SkOpPtT* PtTPtT(const SkOpPtT* ptT, int id) { in PtTPtT() argument 288 return ptT->debugPtT(id); in PtTPtT() 291 const SkOpSegment* PtTSegment(const SkOpPtT* ptT, int id) { in PtTSegment() argument 292 return ptT->debugSegment(id); in PtTSegment() 295 const SkOpSpanBase* PtTSpan(const SkOpPtT* ptT, int id) { in PtTSpan() argument 296 return ptT->debugSpan(id); in PtTSpan() [all …]
|
D | PathOpsAngleTest.cpp | 482 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT() in debugAddAngle() 484 SkOpPtT* endPtT = endT == 0 ? fHead.ptT() : endT == 1 ? fTail.ptT() in debugAddAngle() 488 while (startSpan->ptT() != startPtT) { in debugAddAngle() 492 while (endSpan->ptT() != endPtT) { in debugAddAngle()
|
/third_party/skia/tests/ |
D | PathOpsDebug.cpp | 279 const SkOpAngle* PtTAngle(const SkOpPtT* ptT, int id) { in PtTAngle() argument 280 return ptT->debugAngle(id); in PtTAngle() 283 SkOpContour* PtTContour(SkOpPtT* ptT, int id) { in PtTContour() argument 284 return ptT->debugContour(id); in PtTContour() 287 const SkOpPtT* PtTPtT(const SkOpPtT* ptT, int id) { in PtTPtT() argument 288 return ptT->debugPtT(id); in PtTPtT() 291 const SkOpSegment* PtTSegment(const SkOpPtT* ptT, int id) { in PtTSegment() argument 292 return ptT->debugSegment(id); in PtTSegment() 295 const SkOpSpanBase* PtTSpan(const SkOpPtT* ptT, int id) { in PtTSpan() argument 296 return ptT->debugSpan(id); in PtTSpan() [all …]
|
D | PathOpsAngleTest.cpp | 479 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT() in debugAddAngle() 481 SkOpPtT* endPtT = endT == 0 ? fHead.ptT() : endT == 1 ? fTail.ptT() in debugAddAngle() 485 while (startSpan->ptT() != startPtT) { in debugAddAngle() 489 while (endSpan->ptT() != endPtT) { in debugAddAngle()
|