/third_party/skia/src/pathops/ |
D | SkOpSegment.h | 30 SkOpAngle* activeAngle(SkOpSpanBase* start, SkOpSpanBase** startPtr, SkOpSpanBase** endPtr, 32 SkOpAngle* activeAngleInner(SkOpSpanBase* start, SkOpSpanBase** startPtr, 33 SkOpSpanBase** endPtr, bool* done); 34 SkOpAngle* activeAngleOther(SkOpSpanBase* start, SkOpSpanBase** startPtr, 35 SkOpSpanBase** endPtr, bool* done); 36 bool activeOp(SkOpSpanBase* start, SkOpSpanBase* end, int xorMiMask, int xorSuMask, 38 bool activeOp(int xorMiMask, int xorSuMask, SkOpSpanBase* start, SkOpSpanBase* end, SkPathOp op, 41 bool activeWinding(SkOpSpanBase* start, SkOpSpanBase* end); 42 bool activeWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* sumWinding); 60 bool addCurveTo(const SkOpSpanBase* start, const SkOpSpanBase* end, SkPathWriter* path) const; [all …]
|
D | SkOpSpan.h | 19 class SkOpSpanBase; variable 68 const SkOpSpanBase* debugSpan(int id) const; 85 void init(SkOpSpanBase* , double t, const SkPoint& , bool dup); 150 void setSpan(const SkOpSpanBase* span) { in setSpan() 151 fSpan = const_cast<SkOpSpanBase*>(span); in setSpan() 154 const SkOpSpanBase* span() const { in span() 158 SkOpSpanBase* span() { in span() 169 SkOpSpanBase* fSpan; // contains winding data 178 class SkOpSpanBase { 186 bool addOpp(SkOpSpanBase* opp); [all …]
|
D | SkOpSegment.cpp | 48 SkOpAngle* SkOpSegment::activeAngle(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngle() 49 SkOpSpanBase** endPtr, bool* done) { in activeAngle() 59 SkOpAngle* SkOpSegment::activeAngleInner(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngleInner() 60 SkOpSpanBase** endPtr, bool* done) { in activeAngleInner() 64 SkOpSpanBase* next = upSpan->next(); in activeAngleInner() 100 SkOpAngle* SkOpSegment::activeAngleOther(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngleOther() 101 SkOpSpanBase** endPtr, bool* done) { in activeAngleOther() 104 SkOpSpanBase* oSpan = oPtT->span(); in activeAngleOther() 108 bool SkOpSegment::activeOp(SkOpSpanBase* start, SkOpSpanBase* end, int xorMiMask, int xorSuMask, in activeOp() 123 bool SkOpSegment::activeOp(int xorMiMask, int xorSuMask, SkOpSpanBase* start, SkOpSpanBase* end, in activeOp() [all …]
|
D | SkOpAngle.h | 19 class SkOpSpanBase; variable 51 const SkOpSpanBase* debugSpan(int id) const; 63 SkOpSpanBase* end() const { in end() 68 SkOpSpanBase* lastMarked() const; 78 void set(SkOpSpanBase* start, SkOpSpanBase* end); 80 void setLastMarked(SkOpSpanBase* marked) { in setLastMarked() 84 SkOpSpanBase* start() const { in start() 127 SkOpSpanBase* fLastMarked; 128 SkOpSpanBase* fStart; 129 SkOpSpanBase* fEnd; [all …]
|
D | SkOpSpan.cpp | 98 void SkOpPtT::init(SkOpSpanBase* span, double t, const SkPoint& pt, bool duplicate) { in init() 110 const SkOpSpanBase* span = this->span(); in onEnd() 152 bool SkOpSpanBase::addOpp(SkOpSpanBase* opp) { in addOpp() 163 SkOpSpanBase::Collapsed SkOpSpanBase::collapsed(double s, double e) const { in collapsed() 191 bool SkOpSpanBase::contains(const SkOpSpanBase* span) const { in contains() 204 const SkOpPtT* SkOpSpanBase::contains(const SkOpSegment* segment) const { in contains() 218 bool SkOpSpanBase::containsCoinEnd(const SkOpSegment* segment) const { in containsCoinEnd() 220 const SkOpSpanBase* next = this; in containsCoinEnd() 229 SkOpContour* SkOpSpanBase::contour() const { in contour() 233 SkOpGlobalState* SkOpSpanBase::globalState() const { in globalState() [all …]
|
D | SkPathOpsDebug.h | 26 class SkOpSpanBase; variable 352 static bool ChaseContains(const SkTDArray<SkOpSpanBase*>& , const SkOpSpanBase* ); 369 const SkOpSpanBase* AngleSpan(const SkOpAngle*, int id); 375 const SkOpSpanBase* ContourSpan(SkOpContour*, int id); 381 const SkOpSpanBase* CoincidenceSpan(SkOpCoincidence*, int id); 387 const SkOpSpanBase* PtTSpan(const SkOpPtT*, int id); 393 const SkOpSpanBase* SegmentSpan(const SkOpSegment*, int id); 395 const SkOpAngle* SpanAngle(const SkOpSpanBase*, int id); 396 SkOpContour* SpanContour(SkOpSpanBase*, int id); 397 const SkOpPtT* SpanPtT(const SkOpSpanBase*, int id); [all …]
|
D | SkPathOpsSimplify.cpp | 21 SkOpSpanBase* start = span->next(); in bridgeWinding() 22 SkOpSpanBase* end = span; in bridgeWinding() 23 SkTDArray<SkOpSpanBase*> chase; in bridgeWinding() 31 SkOpSpanBase* nextStart = start; in bridgeWinding() 32 SkOpSpanBase* nextEnd = end; in bridgeWinding() 61 SkOpSpanBase* last; in bridgeWinding() 98 SkOpSpanBase* start = span->next(); in bridgeXor() 99 SkOpSpanBase* end = span; in bridgeXor() 108 SkOpSpanBase* nextStart = start; in bridgeXor() 109 SkOpSpanBase* nextEnd = end; in bridgeXor()
|
D | SkPathOpsCommon.h | 17 const SkOpAngle* AngleWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* windingPtr, 19 SkOpSegment* FindChase(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** startPtr, 20 SkOpSpanBase** endPtr);
|
D | SkPathOpsCommon.cpp | 16 const SkOpAngle* AngleWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* windingPtr, in AngleWinding() 49 SkOpSpanBase* startSpan = angle->start(); in AngleWinding() 50 SkOpSpanBase* endSpan = angle->end(); in AngleWinding() 82 SkOpSegment* FindChase(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** startPtr, in FindChase() 83 SkOpSpanBase** endPtr) { in FindChase() 85 SkOpSpanBase* span; in FindChase() 123 SkOpSpanBase* start = angle->start(); in FindChase() 124 SkOpSpanBase* end = angle->end(); in FindChase()
|
D | SkPathOpsOp.cpp | 15 static bool findChaseOp(SkTDArray<SkOpSpanBase*>& chase, SkOpSpanBase** startPtr, in findChaseOp() 16 SkOpSpanBase** endPtr, SkOpSegment** result) { in findChaseOp() 18 SkOpSpanBase* span; in findChaseOp() 73 SkOpSpanBase* start = angle->start(); in findChaseOp() 74 SkOpSpanBase* end = angle->end(); in findChaseOp() 120 SkOpSpanBase* start = span->next(); in bridgeOp() 121 SkOpSpanBase* end = span; in bridgeOp() 122 SkTDArray<SkOpSpanBase*> chase; in bridgeOp() 130 SkOpSpanBase* nextStart = start; in bridgeOp() 131 SkOpSpanBase* nextEnd = end; in bridgeOp() [all …]
|
D | SkPathOpsDebug.cpp | 55 bool SkPathOpsDebug::ChaseContains(const SkTDArray<SkOpSpanBase* >& chaseArray, in ChaseContains() 56 const SkOpSpanBase* span) { in ChaseContains() 58 const SkOpSpanBase* entry = chaseArray[index]; in ChaseContains() 79 const SkOpSpanBase* fBase; 80 const SkOpSpanBase* fSuspect; 121 void record(GlitchType type, const SkOpSpanBase* base, in record() 122 const SkOpSpanBase* suspect = NULL) { in record() 128 void record(GlitchType type, const SkOpSpanBase* base, in record() 146 void record(GlitchType type, const SkOpSpanBase* base, in record() 155 void record(GlitchType type, const SkOpSpanBase* base, double t, in record() [all …]
|
D | SkOpCoincidence.cpp | 36 const SkOpSpanBase* origSpan = origPtT->span(); in correctOneEnd() 77 const SkOpSpanBase* end = coinPtTEnd()->span(); in expand() 78 SkOpSpanBase* next = end->final() ? nullptr : end->upCast()->next(); in expand() 156 const SkOpSpanBase* start = this->coinPtTStart()->span(); in ordered() 157 const SkOpSpanBase* end = this->coinPtTEnd()->span(); in ordered() 158 const SkOpSpanBase* next = start->upCast()->next(); in ordered() 281 bool SkOpCoincidence::addEndMovedSpans(const SkOpSpan* base, const SkOpSpanBase* testSpan) { in addEndMovedSpans() 445 const SkOpSpanBase* start = startPtT->span(); in addExpanded() 446 const SkOpSpanBase* oStart = oStartPtT->span(); in addExpanded() 447 const SkOpSpanBase* end = coin->coinPtTEnd()->span(); in addExpanded() [all …]
|
D | SkOpCoincidence.h | 16 class SkOpSpanBase; variable 52 void debugStartCheck(const SkOpSpanBase* outer, const SkOpSpanBase* over, 206 const SkOpSpanBase* debugSpan(int id) const { in debugSpan() 248 bool addEndMovedSpans(const SkOpSpan* base, const SkOpSpanBase* testSpan); 277 const SkOpSpan* base, const SkOpSpanBase* testSpan) const;
|
D | SkPathWriter.cpp | 231 SkOpSpanBase* opSpanBase = opPtT->span(); in assemble() 232 SkOpSpanBase* start = opPtT->fT ? opSpanBase->prev() : opSpanBase->upCast()->next(); in assemble() 239 SkOpSpanBase* opSpanEnd = start->t() ? start->prev() : start->upCast()->next(); in assemble()
|
D | SkOpAngle.cpp | 392 SkOpSpanBase* checkEnd = fEnd; in computeSector() 400 const SkOpSpanBase* oSpan = other->head(); in computeSector() 418 SkOpSpanBase* computedEnd = stepUp ? checkEnd ? checkEnd->prev() : fEnd->segment()->head() in computeSector() 428 SkOpSpanBase* saveEnd = fEnd; in computeSector() 786 SkOpSpanBase* SkOpAngle::lastMarked() const { in lastMarked() 958 void SkOpAngle::set(SkOpSpanBase* start, SkOpSpanBase* end) { in set()
|
D | SkPathOpsWinding.cpp | 193 SkOpSpanBase* next; in windingSpanAtT() 375 SkOpSpanBase* next; in findSortableTop()
|
D | SkOpContour.h | 125 const SkOpSpanBase* debugSpan(int id) const { in debugSpan()
|
D | SkPathOpsTypes.h | 85 const class SkOpSpanBase* debugSpan(int id) const;
|
/third_party/skia/tests/ |
D | PathOpsDebug.cpp | 235 const SkOpSpanBase* AngleSpan(const SkOpAngle* angle, int id) { in AngleSpan() 255 const SkOpSpanBase* ContourSpan(SkOpContour* contour, int id) { in ContourSpan() 275 const SkOpSpanBase* CoincidenceSpan(SkOpCoincidence* coin, int id) { in CoincidenceSpan() 295 const SkOpSpanBase* PtTSpan(const SkOpPtT* ptT, int id) { in PtTSpan() 315 const SkOpSpanBase* SegmentSpan(const SkOpSegment* span, int id) { in SegmentSpan() 319 const SkOpAngle* SpanAngle(const SkOpSpanBase* span, int id) { in SpanAngle() 323 SkOpContour* SpanContour(SkOpSpanBase* span, int id) { in SpanContour() 327 const SkOpPtT* SpanPtT(const SkOpSpanBase* span, int id) { in SpanPtT() 331 const SkOpSegment* SpanSegment(const SkOpSpanBase* span, int id) { in SpanSegment() 335 const SkOpSpanBase* SpanSpan(const SkOpSpanBase* span, int id) { in SpanSpan() [all …]
|
D | PathOpsAngleTest.cpp | 484 SkOpSpanBase* startSpan = &fHead; in debugAddAngle() 488 SkOpSpanBase* endSpan = &fHead; in debugAddAngle()
|