/external/skia/src/pathops/ |
D | SkOpCoincidence.h | 15 class SkOpPtT; variable 20 const SkOpPtT* coinPtTEnd() const; 21 const SkOpPtT* coinPtTStart() const; 25 SkOpPtT* coinPtTEndWritable() const { return const_cast<SkOpPtT*>(fCoinPtTEnd); } in coinPtTEndWritable() 26 SkOpPtT* coinPtTStartWritable() const { return const_cast<SkOpPtT*>(fCoinPtTStart); } in coinPtTStartWritable() 28 bool collapsed(const SkOpPtT* ) const; 29 bool contains(const SkOpPtT* s, const SkOpPtT* e) const; 31 void correctOneEnd(const SkOpPtT* (SkCoincidentSpans::* getEnd)() const, 32 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) ); 37 const SkOpPtT* (SkCoincidentSpans::* getEnd)() const, [all …]
|
D | SkOpSpan.cpp | 12 bool SkOpPtT::alias() const { in alias() 16 const SkOpPtT* SkOpPtT::active() const { in active() 20 const SkOpPtT* ptT = this; in active() 21 const SkOpPtT* stopPtT = ptT; in active() 30 bool SkOpPtT::contains(const SkOpPtT* check) const { in contains() 32 const SkOpPtT* ptT = this; in contains() 33 const SkOpPtT* stopPtT = ptT; in contains() 42 bool SkOpPtT::contains(const SkOpSegment* segment, const SkPoint& pt) const { in contains() 44 const SkOpPtT* ptT = this; in contains() 45 const SkOpPtT* stopPtT = ptT; in contains() [all …]
|
D | SkOpSpan.h | 24 class SkOpPtT { 31 const SkOpPtT* active() const; 34 void addOpp(SkOpPtT* opp, SkOpPtT* oppPrev) { in addOpp() 35 SkOpPtT* oldNext = this->fNext; in addOpp() 44 bool contains(const SkOpPtT* ) const; 47 const SkOpPtT* contains(const SkOpSegment* ) const; 54 void debugAddOpp(const SkOpPtT* opp, const SkOpPtT* oppPrev) const; 57 bool debugContains(const SkOpPtT* ) const; 58 const SkOpPtT* debugContains(const SkOpSegment* check) const; 60 const SkOpPtT* debugEnder(const SkOpPtT* end) const; [all …]
|
D | SkPathWriter.h | 14 class SkOpPtT; variable 24 void conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight); 25 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3); 26 bool deferredLine(const SkOpPtT* pt); 27 void deferredMove(const SkOpPtT* pt); 33 void quadTo(const SkPoint& pt1, const SkOpPtT* pt2); 36 bool changedSlopes(const SkOpPtT* pt) const; 38 const SkTDArray<const SkOpPtT*>& endPtTs() const { return fEndPtTs; } in endPtTs() 40 bool matchedLast(const SkOpPtT*) const; 44 SkPoint update(const SkOpPtT* pt); [all …]
|
D | SkOpCoincidence.cpp | 14 bool SkCoincidentSpans::collapsed(const SkOpPtT* test) const { in collapsed() 22 const SkOpPtT* SkCoincidentSpans::coinPtTEnd() const { in coinPtTEnd() 27 const SkOpPtT* SkCoincidentSpans::coinPtTStart() const { in coinPtTStart() 33 const SkOpPtT* (SkCoincidentSpans::* getEnd)() const, in correctOneEnd() 34 void (SkCoincidentSpans::*setEnd)(const SkOpPtT* ptT) ) { in correctOneEnd() 35 const SkOpPtT* origPtT = (this->*getEnd)(); in correctOneEnd() 38 const SkOpPtT* testPtT = prev ? prev->next()->ptT() in correctOneEnd() 65 const SkOpPtT* oppPtT; in expand() 82 const SkOpPtT* oppPtT; in expand() 97 bool SkCoincidentSpans::extend(const SkOpPtT* coinPtTStart, const SkOpPtT* coinPtTEnd, in extend() [all …]
|
D | SkPathOpsDebug.cpp | 83 const SkOpPtT* fCoinSpan; 84 const SkOpPtT* fEndSpan; 85 const SkOpPtT* fOppSpan; 86 const SkOpPtT* fOppEndSpan; 129 const SkOpPtT* ptT) { in record() 164 const SkOpPtT* coinSpan, const SkOpPtT* endSpan) { in record() 181 void record(GlitchType type, const SkOpPtT* ptTS, const SkOpPtT* ptTE, in record() 182 const SkOpPtT* oPtTS, const SkOpPtT* oPtTE) { in record() 220 const SkOpPtT* ptT) { in record() 724 const SkOpPtT* SkOpSegment::debugAddT(double t, SkPathOpsDebug::GlitchLog* log) const { in debugAddT() [all …]
|
D | SkPathWriter.cpp | 34 void SkPathWriter::conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight) { in conicTo() 43 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3) { in cubicTo() 52 bool SkPathWriter::deferredLine(const SkOpPtT* pt) { in deferredLine() 74 void SkPathWriter::deferredMove(const SkOpPtT* pt) { in deferredMove() 126 bool SkPathWriter::matchedLast(const SkOpPtT* test) const { in matchedLast() 146 void SkPathWriter::quadTo(const SkPoint& pt1, const SkOpPtT* pt2) { in quadTo() 157 SkPoint SkPathWriter::update(const SkOpPtT* pt) { in update() 176 bool SkPathWriter::changedSlopes(const SkOpPtT* ptT) const { in changedSlopes() 208 SkOpPtT const* const* runs = fEndPtTs.begin(); // starts, ends of partial contours in assemble() 214 const SkOpPtT* eStart = runs[index]; in assemble() [all …]
|
D | SkPathOpsDebug.h | 23 class SkOpPtT; variable 367 const SkOpPtT* AnglePtT(const SkOpAngle*, int id); 373 const SkOpPtT* ContourPtT(SkOpContour*, int id); 379 const SkOpPtT* CoincidencePtT(SkOpCoincidence*, int id); 383 const SkOpAngle* PtTAngle(const SkOpPtT*, int id); 384 SkOpContour* PtTContour(SkOpPtT*, int id); 385 const SkOpPtT* PtTPtT(const SkOpPtT*, int id); 386 const SkOpSegment* PtTSegment(const SkOpPtT*, int id); 387 const SkOpSpanBase* PtTSpan(const SkOpPtT*, int id); 391 const SkOpPtT* SegmentPtT(const SkOpSegment*, int id); [all …]
|
D | SkOpSegment.h | 78 SkOpPtT* addMissing(double t, SkOpSegment* opp, bool* allExist); 95 SkOpPtT* addT(double t); 96 SkOpPtT* addT(double t, const SkPoint& pt); 129 const SkOpPtT* debugAddT(double t, SkPathOpsDebug::GlitchLog* ) const; 153 const SkOpPtT* debugPtT(int id) const; 213 const SkOpPtT* existing(double t, const SkOpSegment* opp) const; 288 bool match(const SkOpPtT* span, const SkOpSegment* parent, double t, const SkPoint& pt) const; 320 bool ptsDisjoint(const SkOpPtT& span, const SkOpPtT& test) const { in ptsDisjoint() 326 bool ptsDisjoint(const SkOpPtT& span, double t, const SkPoint& pt) const { in ptsDisjoint() 395 bool testForCoincidence(const SkOpPtT* priorPtT, const SkOpPtT* ptT, const SkOpSpanBase* prior,
|
D | SkOpSegment.cpp | 102 SkOpPtT* oPtT = start->ptT()->next(); in activeAngleOther() 197 const SkOpPtT* SkOpSegment::existing(double t, const SkOpSegment* opp) const { in existing() 199 const SkOpPtT* testPtT; in existing() 215 const SkOpPtT* loop = testPtT->next(); in existing() 235 SkOpPtT* newPtT = this->addT(newT); in addExpanded() 241 SkOpPtT* oppPrev = test->ptT()->oppPrev(newPtT); in addExpanded() 253 SkOpPtT* SkOpSegment::addT(double t, const SkPoint& pt) { in addT() 257 SkOpPtT* result = spanBase->ptT(); in addT() 282 SkOpPtT* SkOpSegment::addT(double t) { in addT() 1050 bool SkOpSegment::match(const SkOpPtT* base, const SkOpSegment* testParent, double testT, in match() [all …]
|
D | SkOpAngle.h | 17 class SkOpPtT; variable 48 const SkOpPtT* debugPtT(int id) const;
|
/external/skqp/src/pathops/ |
D | SkOpCoincidence.h | 15 class SkOpPtT; variable 20 const SkOpPtT* coinPtTEnd() const; 21 const SkOpPtT* coinPtTStart() const; 25 SkOpPtT* coinPtTEndWritable() const { return const_cast<SkOpPtT*>(fCoinPtTEnd); } in coinPtTEndWritable() 26 SkOpPtT* coinPtTStartWritable() const { return const_cast<SkOpPtT*>(fCoinPtTStart); } in coinPtTStartWritable() 28 bool collapsed(const SkOpPtT* ) const; 29 bool contains(const SkOpPtT* s, const SkOpPtT* e) const; 31 void correctOneEnd(const SkOpPtT* (SkCoincidentSpans::* getEnd)() const, 32 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) ); 37 const SkOpPtT* (SkCoincidentSpans::* getEnd)() const, [all …]
|
D | SkOpSpan.cpp | 12 bool SkOpPtT::alias() const { in alias() 16 const SkOpPtT* SkOpPtT::active() const { in active() 20 const SkOpPtT* ptT = this; in active() 21 const SkOpPtT* stopPtT = ptT; in active() 30 bool SkOpPtT::contains(const SkOpPtT* check) const { in contains() 32 const SkOpPtT* ptT = this; in contains() 33 const SkOpPtT* stopPtT = ptT; in contains() 42 bool SkOpPtT::contains(const SkOpSegment* segment, const SkPoint& pt) const { in contains() 44 const SkOpPtT* ptT = this; in contains() 45 const SkOpPtT* stopPtT = ptT; in contains() [all …]
|
D | SkOpSpan.h | 24 class SkOpPtT { 31 const SkOpPtT* active() const; 34 void addOpp(SkOpPtT* opp, SkOpPtT* oppPrev) { in addOpp() 35 SkOpPtT* oldNext = this->fNext; in addOpp() 44 bool contains(const SkOpPtT* ) const; 47 const SkOpPtT* contains(const SkOpSegment* ) const; 54 void debugAddOpp(const SkOpPtT* opp, const SkOpPtT* oppPrev) const; 57 bool debugContains(const SkOpPtT* ) const; 58 const SkOpPtT* debugContains(const SkOpSegment* check) const; 60 const SkOpPtT* debugEnder(const SkOpPtT* end) const; [all …]
|
D | SkPathWriter.h | 14 class SkOpPtT; variable 24 void conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight); 25 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3); 26 bool deferredLine(const SkOpPtT* pt); 27 void deferredMove(const SkOpPtT* pt); 33 void quadTo(const SkPoint& pt1, const SkOpPtT* pt2); 36 bool changedSlopes(const SkOpPtT* pt) const; 38 const SkTDArray<const SkOpPtT*>& endPtTs() const { return fEndPtTs; } in endPtTs() 40 bool matchedLast(const SkOpPtT*) const; 44 SkPoint update(const SkOpPtT* pt); [all …]
|
D | SkOpCoincidence.cpp | 14 bool SkCoincidentSpans::collapsed(const SkOpPtT* test) const { in collapsed() 22 const SkOpPtT* SkCoincidentSpans::coinPtTEnd() const { in coinPtTEnd() 27 const SkOpPtT* SkCoincidentSpans::coinPtTStart() const { in coinPtTStart() 33 const SkOpPtT* (SkCoincidentSpans::* getEnd)() const, in correctOneEnd() 34 void (SkCoincidentSpans::*setEnd)(const SkOpPtT* ptT) ) { in correctOneEnd() 35 const SkOpPtT* origPtT = (this->*getEnd)(); in correctOneEnd() 38 const SkOpPtT* testPtT = prev ? prev->next()->ptT() in correctOneEnd() 65 const SkOpPtT* oppPtT; in expand() 82 const SkOpPtT* oppPtT; in expand() 97 bool SkCoincidentSpans::extend(const SkOpPtT* coinPtTStart, const SkOpPtT* coinPtTEnd, in extend() [all …]
|
D | SkPathOpsDebug.cpp | 83 const SkOpPtT* fCoinSpan; 84 const SkOpPtT* fEndSpan; 85 const SkOpPtT* fOppSpan; 86 const SkOpPtT* fOppEndSpan; 129 const SkOpPtT* ptT) { in record() 164 const SkOpPtT* coinSpan, const SkOpPtT* endSpan) { in record() 181 void record(GlitchType type, const SkOpPtT* ptTS, const SkOpPtT* ptTE, in record() 182 const SkOpPtT* oPtTS, const SkOpPtT* oPtTE) { in record() 220 const SkOpPtT* ptT) { in record() 747 const SkOpPtT* SkOpSegment::debugAddT(double t, SkPathOpsDebug::GlitchLog* log) const { in debugAddT() [all …]
|
D | SkPathWriter.cpp | 34 void SkPathWriter::conicTo(const SkPoint& pt1, const SkOpPtT* pt2, SkScalar weight) { in conicTo() 43 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkOpPtT* pt3) { in cubicTo() 52 bool SkPathWriter::deferredLine(const SkOpPtT* pt) { in deferredLine() 74 void SkPathWriter::deferredMove(const SkOpPtT* pt) { in deferredMove() 126 bool SkPathWriter::matchedLast(const SkOpPtT* test) const { in matchedLast() 146 void SkPathWriter::quadTo(const SkPoint& pt1, const SkOpPtT* pt2) { in quadTo() 157 SkPoint SkPathWriter::update(const SkOpPtT* pt) { in update() 176 bool SkPathWriter::changedSlopes(const SkOpPtT* ptT) const { in changedSlopes() 211 SkOpPtT const* const* runs = fEndPtTs.begin(); // starts, ends of partial contours in assemble() 217 const SkOpPtT* eStart = runs[index]; in assemble() [all …]
|
D | SkPathOpsDebug.h | 23 class SkOpPtT; variable 388 const SkOpPtT* AnglePtT(const SkOpAngle*, int id); 394 const SkOpPtT* ContourPtT(SkOpContour*, int id); 400 const SkOpPtT* CoincidencePtT(SkOpCoincidence*, int id); 404 const SkOpAngle* PtTAngle(const SkOpPtT*, int id); 405 SkOpContour* PtTContour(SkOpPtT*, int id); 406 const SkOpPtT* PtTPtT(const SkOpPtT*, int id); 407 const SkOpSegment* PtTSegment(const SkOpPtT*, int id); 408 const SkOpSpanBase* PtTSpan(const SkOpPtT*, int id); 412 const SkOpPtT* SegmentPtT(const SkOpSegment*, int id); [all …]
|
D | SkOpSegment.h | 78 SkOpPtT* addMissing(double t, SkOpSegment* opp, bool* allExist); 95 SkOpPtT* addT(double t); 96 SkOpPtT* addT(double t, const SkPoint& pt); 129 const SkOpPtT* debugAddT(double t, SkPathOpsDebug::GlitchLog* ) const; 153 const SkOpPtT* debugPtT(int id) const; 213 const SkOpPtT* existing(double t, const SkOpSegment* opp) const; 288 bool match(const SkOpPtT* span, const SkOpSegment* parent, double t, const SkPoint& pt) const; 320 bool ptsDisjoint(const SkOpPtT& span, const SkOpPtT& test) const { in ptsDisjoint() 326 bool ptsDisjoint(const SkOpPtT& span, double t, const SkPoint& pt) const { in ptsDisjoint() 395 bool testForCoincidence(const SkOpPtT* priorPtT, const SkOpPtT* ptT, const SkOpSpanBase* prior,
|
D | SkOpSegment.cpp | 102 SkOpPtT* oPtT = start->ptT()->next(); in activeAngleOther() 197 const SkOpPtT* SkOpSegment::existing(double t, const SkOpSegment* opp) const { in existing() 199 const SkOpPtT* testPtT; in existing() 215 const SkOpPtT* loop = testPtT->next(); in existing() 235 SkOpPtT* newPtT = this->addT(newT); in addExpanded() 241 SkOpPtT* oppPrev = test->ptT()->oppPrev(newPtT); in addExpanded() 253 SkOpPtT* SkOpSegment::addT(double t, const SkPoint& pt) { in addT() 257 SkOpPtT* result = spanBase->ptT(); in addT() 282 SkOpPtT* SkOpSegment::addT(double t) { in addT() 1050 bool SkOpSegment::match(const SkOpPtT* base, const SkOpSegment* testParent, double testT, in match() [all …]
|
D | SkOpAngle.h | 17 class SkOpPtT; variable 48 const SkOpPtT* debugPtT(int id) const;
|
D | SkAddIntersections.cpp | 509 SkOpPtT* coinPtT[2]; in AddIntersectTs() 520 SkOpPtT* testTAt = iPtIsIntegral ? wt.segment()->addT(ts[swap][pt], iPt) in AddIntersectTs() 523 SkOpPtT* nextTAt = iPtIsIntegral ? wn.segment()->addT(ts[!swap][pt], iPt) in AddIntersectTs() 526 SkOpPtT* oppPrev = testTAt->oppPrev(nextTAt); // Returns nullptr if pair in AddIntersectTs()
|
/external/skia/tests/ |
D | PathOpsDebug.cpp | 227 const SkOpPtT* AnglePtT(const SkOpAngle* angle, int id) { in AnglePtT() 247 const SkOpPtT* ContourPtT(SkOpContour* contour, int id) { in ContourPtT() 267 const SkOpPtT* CoincidencePtT(SkOpCoincidence* coin, int id) { in CoincidencePtT() 279 const SkOpAngle* PtTAngle(const SkOpPtT* ptT, int id) { in PtTAngle() 283 SkOpContour* PtTContour(SkOpPtT* ptT, int id) { in PtTContour() 287 const SkOpPtT* PtTPtT(const SkOpPtT* ptT, int id) { in PtTPtT() 291 const SkOpSegment* PtTSegment(const SkOpPtT* ptT, int id) { in PtTSegment() 295 const SkOpSpanBase* PtTSpan(const SkOpPtT* ptT, int id) { in PtTSpan() 307 const SkOpPtT* SegmentPtT(const SkOpSegment* span, int id) { in SegmentPtT() 327 const SkOpPtT* SpanPtT(const SkOpSpanBase* span, int id) { in SpanPtT() [all …]
|
/external/skqp/tests/ |
D | PathOpsDebug.cpp | 227 const SkOpPtT* AnglePtT(const SkOpAngle* angle, int id) { in AnglePtT() 247 const SkOpPtT* ContourPtT(SkOpContour* contour, int id) { in ContourPtT() 267 const SkOpPtT* CoincidencePtT(SkOpCoincidence* coin, int id) { in CoincidencePtT() 279 const SkOpAngle* PtTAngle(const SkOpPtT* ptT, int id) { in PtTAngle() 283 SkOpContour* PtTContour(SkOpPtT* ptT, int id) { in PtTContour() 287 const SkOpPtT* PtTPtT(const SkOpPtT* ptT, int id) { in PtTPtT() 291 const SkOpSegment* PtTSegment(const SkOpPtT* ptT, int id) { in PtTSegment() 295 const SkOpSpanBase* PtTSpan(const SkOpPtT* ptT, int id) { in PtTSpan() 307 const SkOpPtT* SegmentPtT(const SkOpSegment* span, int id) { in SegmentPtT() 327 const SkOpPtT* SpanPtT(const SkOpSpanBase* span, int id) { in SpanPtT() [all …]
|