Home
last modified time | relevance | path

Searched refs:ptT (Results 1 – 24 of 24) sorted by relevance

/external/skia/src/pathops/
DSkOpSpan.cpp13 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 …]
DSkOpCoincidence.h32 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 …]
DSkPathOpsDebug.cpp129 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 …]
DSkOpSegment.cpp102 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 …]
DSkOpCoincidence.cpp34 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 …]
DSkOpSegment.h240 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,
DSkPathWriter.cpp176 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()
DSkOpSpan.h310 const SkOpPtT* ptT() const { in ptT() function
314 SkOpPtT* ptT() { in ptT() function
DSkPathOpsCommon.cpp88 *startPtr = span->ptT()->next()->span(); in FindChase()
DSkPathOpsOp.cpp21 *startPtr = span->ptT()->prev()->span(); in findChaseOp()
/external/skqp/src/pathops/
DSkOpSpan.cpp13 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 …]
DSkOpCoincidence.h32 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 …]
DSkPathOpsDebug.cpp129 const SkOpPtT* ptT) { in record()
132 glitch->fCoinSpan = ptT; in record()
220 const SkOpPtT* ptT) { in record()
223 glitch->fEndSpan = ptT; in record()
752 const SkOpPtT* result = span->ptT(); in debugAddT()
842 const SkOpPtT* ptT = span->ptT(), * stopPtT = ptT; in DebugClearVisited() local
843 while ((ptT = ptT->next()) != stopPtT) { in DebugClearVisited()
844 const SkOpSegment* opp = ptT->segment(); in DebugClearVisited()
870 const SkOpPtT* ptT = spanBase->ptT(), * spanStopPtT = ptT; in debugMissingCoincidence() local
871 SkASSERT(ptT->span() == spanBase); in debugMissingCoincidence()
[all …]
DSkOpSegment.cpp102 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 …]
DSkOpCoincidence.cpp34 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 …]
DSkOpSegment.h240 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,
DSkPathWriter.cpp176 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()
DSkOpSpan.h310 const SkOpPtT* ptT() const { in ptT() function
314 SkOpPtT* ptT() { in ptT() function
DSkPathOpsCommon.cpp88 *startPtr = span->ptT()->next()->span(); in FindChase()
DSkPathOpsOp.cpp21 *startPtr = span->ptT()->prev()->span(); in findChaseOp()
/external/skqp/tests/
DPathOpsDebug.cpp279 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 …]
DPathOpsAngleTest.cpp482 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()
/external/skia/tests/
DPathOpsDebug.cpp279 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 …]
DPathOpsAngleTest.cpp479 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()