/external/skia/src/pathops/ |
SkOpSpan.cpp | 13 return this->span()->ptT() != this; 20 const SkOpPtT* ptT = this; 21 const SkOpPtT* stopPtT = ptT; 22 while ((ptT = ptT->next()) != stopPtT) { 23 if (ptT->fSpan == fSpan && !ptT->fDeleted) { 24 return ptT; 33 const SkOpPtT* ptT = this; 34 const SkOpPtT* stopPtT = ptT; [all...] |
SkOpCoincidence.h | 32 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) ); 38 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) const) const; 81 void setCoinPtTEnd(const SkOpPtT* ptT) { 82 SkOPASSERT(ptT == ptT->span()->ptT()); 83 SkOPASSERT(!fCoinPtTStart || ptT->fT != fCoinPtTStart->fT); 84 SkASSERT(!fCoinPtTStart || fCoinPtTStart->segment() == ptT->segment()); 85 fCoinPtTEnd = ptT; 86 ptT->setCoincident() [all...] |
SkOpSegment.cpp | 100 SkOpPtT* oPtT = start->ptT()->next(); 170 path->deferredMove(start->ptT()); 173 FAIL_IF(!path->deferredLine(end->ptT())); 176 path->quadTo(curvePart.fCurve.fQuad[1].asSkPoint(), end->ptT()); 179 path->conicTo(curvePart.fCurve.fConic[1].asSkPoint(), end->ptT(), 184 curvePart.fCurve.fCubic[2].asSkPoint(), end->ptT()); 197 testPtT = test->ptT(); 236 SkOpPtT* oppPrev = test->ptT()->oppPrev(newPtT); 241 writableTest->ptT()->addOpp(newPtT, oppPrev); 252 SkOpPtT* result = spanBase->ptT(); [all...] |
SkPathOpsDebug.cpp | 129 const SkOpPtT* ptT) { 132 glitch->fCoinSpan = ptT; 220 const SkOpPtT* ptT) { 223 glitch->fEndSpan = ptT; 391 SkDebugf(" coinSeg/Span/PtT=%d/%d/%d", glitch.fCoinSpan->segment()->debugID(), 398 SkDebugf(" oppSeg/Span/PtT=%d/%d/%d", glitch.fOppSpan->segment()->debugID(), 752 const SkOpPtT* result = span->ptT(); 842 const SkOpPtT* ptT = span->ptT(), * stopPtT = ptT; [all...] |
SkOpCoincidence.cpp | 29 // sets the span's end to the ptT referenced by the previous-next 32 void (SkCoincidentSpans::*setEnd)(const SkOpPtT* ptT) ) { 36 const SkOpPtT* testPtT = prev ? prev->next()->ptT() 37 : origSpan->upCast()->next()->prev()->ptT(); 71 setStarts(prev->ptT(), oppPtT); 88 setEnds(next->ptT(), oppPtT); 256 // choose the ptT at the front of the list to track 257 coinPtTStart = coinPtTStart->span()->ptT(); 258 coinPtTEnd = coinPtTEnd->span()->ptT(); 259 oppPtTStart = oppPtTStart->span()->ptT(); [all...] |
SkOpSegment.h | 240 SkDEBUGCODE(result->ptT()->fT = 0); 269 fTail.ptT()->addOpp(start->fHead.ptT(), start->fHead.ptT()); 395 bool testForCoincidence(const SkOpPtT* priorPtT, const SkOpPtT* ptT, const SkOpSpanBase* prior,
|
SkOpSpan.h | 103 // returns nullptr if this is already in the opp ptT loop 305 const SkOpPtT* ptT() const { 309 SkOpPtT* ptT() {
|
SkPathWriter.cpp | 168 bool SkPathWriter::changedSlopes(const SkOpPtT* ptT) const { 173 SkVector lineDxdy = ptT->fPt - fDefer[1]->fPt;
|
SkPathOpsCommon.cpp | 108 *startPtr = span->ptT()->next()->span();
|
SkPathOpsOp.cpp | 19 *startPtr = span->ptT()->prev()->span();
|
/external/skqp/src/pathops/ |
SkOpSpan.cpp | 13 return this->span()->ptT() != this; 20 const SkOpPtT* ptT = this; 21 const SkOpPtT* stopPtT = ptT; 22 while ((ptT = ptT->next()) != stopPtT) { 23 if (ptT->fSpan == fSpan && !ptT->fDeleted) { 24 return ptT; 33 const SkOpPtT* ptT = this; 34 const SkOpPtT* stopPtT = ptT; [all...] |
SkOpCoincidence.h | 32 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) ); 38 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) const) const; 81 void setCoinPtTEnd(const SkOpPtT* ptT) { 82 SkOPASSERT(ptT == ptT->span()->ptT()); 83 SkOPASSERT(!fCoinPtTStart || ptT->fT != fCoinPtTStart->fT); 84 SkASSERT(!fCoinPtTStart || fCoinPtTStart->segment() == ptT->segment()); 85 fCoinPtTEnd = ptT; 86 ptT->setCoincident() [all...] |
SkOpSegment.cpp | 100 SkOpPtT* oPtT = start->ptT()->next(); 170 path->deferredMove(start->ptT()); 173 FAIL_IF(!path->deferredLine(end->ptT())); 176 path->quadTo(curvePart.fCurve.fQuad[1].asSkPoint(), end->ptT()); 179 path->conicTo(curvePart.fCurve.fConic[1].asSkPoint(), end->ptT(), 184 curvePart.fCurve.fCubic[2].asSkPoint(), end->ptT()); 197 testPtT = test->ptT(); 236 SkOpPtT* oppPrev = test->ptT()->oppPrev(newPtT); 241 writableTest->ptT()->addOpp(newPtT, oppPrev); 252 SkOpPtT* result = spanBase->ptT(); [all...] |
SkPathOpsDebug.cpp | 129 const SkOpPtT* ptT) { 132 glitch->fCoinSpan = ptT; 220 const SkOpPtT* ptT) { 223 glitch->fEndSpan = ptT; 391 SkDebugf(" coinSeg/Span/PtT=%d/%d/%d", glitch.fCoinSpan->segment()->debugID(), 398 SkDebugf(" oppSeg/Span/PtT=%d/%d/%d", glitch.fOppSpan->segment()->debugID(), 752 const SkOpPtT* result = span->ptT(); 842 const SkOpPtT* ptT = span->ptT(), * stopPtT = ptT; [all...] |
SkOpCoincidence.cpp | 29 // sets the span's end to the ptT referenced by the previous-next 32 void (SkCoincidentSpans::*setEnd)(const SkOpPtT* ptT) ) { 36 const SkOpPtT* testPtT = prev ? prev->next()->ptT() 37 : origSpan->upCast()->next()->prev()->ptT(); 71 setStarts(prev->ptT(), oppPtT); 88 setEnds(next->ptT(), oppPtT); 256 // choose the ptT at the front of the list to track 257 coinPtTStart = coinPtTStart->span()->ptT(); 258 coinPtTEnd = coinPtTEnd->span()->ptT(); 259 oppPtTStart = oppPtTStart->span()->ptT(); [all...] |
SkOpSegment.h | 240 SkDEBUGCODE(result->ptT()->fT = 0); 269 fTail.ptT()->addOpp(start->fHead.ptT(), start->fHead.ptT()); 395 bool testForCoincidence(const SkOpPtT* priorPtT, const SkOpPtT* ptT, const SkOpSpanBase* prior,
|
SkOpSpan.h | 103 // returns nullptr if this is already in the opp ptT loop 305 const SkOpPtT* ptT() const { 309 SkOpPtT* ptT() {
|
SkPathWriter.cpp | 168 bool SkPathWriter::changedSlopes(const SkOpPtT* ptT) const { 173 SkVector lineDxdy = ptT->fPt - fDefer[1]->fPt;
|
SkPathOpsCommon.cpp | 108 *startPtr = span->ptT()->next()->span();
|
SkPathOpsOp.cpp | 19 *startPtr = span->ptT()->prev()->span();
|
/external/skia/tests/ |
PathOpsDebug.cpp | 271 const SkOpAngle* SkPathOpsDebug::DebugPtTAngle(const SkOpPtT* ptT, int id) { 272 return ptT->debugAngle(id); 275 SkOpContour* SkPathOpsDebug::DebugPtTContour(SkOpPtT* ptT, int id) { 276 return ptT->debugContour(id); 279 const SkOpPtT* SkPathOpsDebug::DebugPtTPtT(const SkOpPtT* ptT, int id) { 280 return ptT->debugPtT(id); 283 const SkOpSegment* SkPathOpsDebug::DebugPtTSegment(const SkOpPtT* ptT, int id) { 284 return ptT->debugSegment(id); 287 const SkOpSpanBase* SkPathOpsDebug::DebugPtTSpan(const SkOpPtT* ptT, int id) { 288 return ptT->debugSpan(id) [all...] |
PathOpsAngleTest.cpp | 482 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT() 484 SkOpPtT* endPtT = endT == 0 ? fHead.ptT() : endT == 1 ? fTail.ptT() 488 while (startSpan->ptT() != startPtT) { 492 while (endSpan->ptT() != endPtT) {
|
/external/skqp/tests/ |
PathOpsDebug.cpp | 271 const SkOpAngle* SkPathOpsDebug::DebugPtTAngle(const SkOpPtT* ptT, int id) { 272 return ptT->debugAngle(id); 275 SkOpContour* SkPathOpsDebug::DebugPtTContour(SkOpPtT* ptT, int id) { 276 return ptT->debugContour(id); 279 const SkOpPtT* SkPathOpsDebug::DebugPtTPtT(const SkOpPtT* ptT, int id) { 280 return ptT->debugPtT(id); 283 const SkOpSegment* SkPathOpsDebug::DebugPtTSegment(const SkOpPtT* ptT, int id) { 284 return ptT->debugSegment(id); 287 const SkOpSpanBase* SkPathOpsDebug::DebugPtTSpan(const SkOpPtT* ptT, int id) { 288 return ptT->debugSpan(id) [all...] |
PathOpsAngleTest.cpp | 482 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT() 484 SkOpPtT* endPtT = endT == 0 ? fHead.ptT() : endT == 1 ? fTail.ptT() 488 while (startSpan->ptT() != startPtT) { 492 while (endSpan->ptT() != endPtT) {
|