Home
last modified time | relevance | path

Searched refs:SkOpSpanBase (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/pathops/
DSkOpSegment.h35 SkOpAngle* activeAngle(SkOpSpanBase* start, SkOpSpanBase** startPtr, SkOpSpanBase** endPtr,
37 SkOpAngle* activeAngleInner(SkOpSpanBase* start, SkOpSpanBase** startPtr,
38 SkOpSpanBase** endPtr, bool* done);
39 SkOpAngle* activeAngleOther(SkOpSpanBase* start, SkOpSpanBase** startPtr,
40 SkOpSpanBase** endPtr, bool* done);
41 bool activeOp(SkOpSpanBase* start, SkOpSpanBase* end, int xorMiMask, int xorSuMask,
43 bool activeOp(int xorMiMask, int xorSuMask, SkOpSpanBase* start, SkOpSpanBase* end, SkPathOp op,
46 bool activeWinding(SkOpSpanBase* start, SkOpSpanBase* end);
47 bool activeWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* sumWinding);
72 bool addCurveTo(const SkOpSpanBase* start, const SkOpSpanBase* end, SkPathWriter* path) const;
[all …]
DSkOpSpan.h19 class SkOpSpanBase; variable
68 const SkOpSpanBase* debugSpan(int id) const;
87 void init(SkOpSpanBase* , double t, const SkPoint& , bool dup);
135 const SkOpSpanBase* span() const { in span()
139 SkOpSpanBase* span() { in span()
150 SkOpSpanBase* fSpan; // contains winding data
157 class SkOpSpanBase {
180 const SkOpSpanBase* coinEnd() const { in coinEnd()
184 bool contains(const SkOpSpanBase* ) const;
187 bool containsCoinEnd(const SkOpSpanBase* coin) const { in containsCoinEnd()
[all …]
DSkOpAngle.h19 class SkOpSpanBase; variable
55 const SkOpSpanBase* debugSpan(int id) const;
67 SkOpSpanBase* end() const { in end()
76 SkOpSpanBase* lastMarked() const;
101 void set(SkOpSpanBase* start, SkOpSpanBase* end);
108 void setLastMarked(SkOpSpanBase* marked) { in setLastMarked()
115 SkOpSpanBase* start() const { in start()
130 SkOpSpanBase* fLastMarked;
132 SkOpSpanBase* fStart;
133 SkOpSpanBase* fEnd;
[all …]
DSkOpSegment.cpp45 SkOpAngle* SkOpSegment::activeAngle(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngle()
46 SkOpSpanBase** endPtr, bool* done) { in activeAngle()
56 SkOpAngle* SkOpSegment::activeAngleInner(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngleInner()
57 SkOpSpanBase** endPtr, bool* done) { in activeAngleInner()
61 SkOpSpanBase* next = upSpan->next(); in activeAngleInner()
97 SkOpAngle* SkOpSegment::activeAngleOther(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngleOther()
98 SkOpSpanBase** endPtr, bool* done) { in activeAngleOther()
101 SkOpSpanBase* oSpan = oPtT->span(); in activeAngleOther()
105 bool SkOpSegment::activeOp(SkOpSpanBase* start, SkOpSpanBase* end, int xorMiMask, int xorSuMask, in activeOp()
119 bool SkOpSegment::activeOp(int xorMiMask, int xorSuMask, SkOpSpanBase* start, SkOpSpanBase* end, in activeOp()
[all …]
DSkPathOpsCommon.h17 const SkOpAngle* AngleWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* windingPtr,
20 SkOpSegment* FindChase(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** startPtr,
21 SkOpSpanBase** endPtr);
23 SkOpSegment* FindUndone(SkOpContourHead* , SkOpSpanBase** startPtr,
24 SkOpSpanBase** endPtr);
DSkPathOpsDebug.h192 static bool ChaseContains(const SkTDArray<class SkOpSpanBase*>& , const class SkOpSpanBase* );
200 static const class SkOpSpanBase* DebugAngleSpan(const struct SkOpAngle*, int id);
206 static const class SkOpSpanBase* DebugContourSpan(class SkOpContour*, int id);
212 static const class SkOpSpanBase* DebugCoincidenceSpan(class SkOpCoincidence*, int id);
218 static const class SkOpSpanBase* DebugPtTSpan(const class SkOpPtT*, int id);
224 static const class SkOpSpanBase* DebugSegmentSpan(const class SkOpSegment*, int id);
226 static const struct SkOpAngle* DebugSpanAngle(const class SkOpSpanBase*, int id);
227 static class SkOpContour* DebugSpanContour(class SkOpSpanBase*, int id);
228 static const class SkOpPtT* DebugSpanPtT(const class SkOpSpanBase*, int id);
229 static const class SkOpSegment* DebugSpanSegment(const class SkOpSpanBase*, int id);
[all …]
DSkOpSpan.cpp88 void SkOpPtT::init(SkOpSpanBase* span, double t, const SkPoint& pt, bool duplicate) { in init()
99 const SkOpSpanBase* span = this->span(); in onEnd()
138 SkOpSpanBase* span = next->span(); in removeNext()
153 void SkOpSpanBase::align() { in align()
182 void SkOpSpanBase::alignEnd(double t, const SkPoint& pt) { in alignEnd()
205 void SkOpSpanBase::alignInner() { in alignInner()
211 const SkOpSpanBase* span = ptT->span(); in alignInner()
234 bool SkOpSpanBase::contains(const SkOpSpanBase* span) const { in contains()
247 SkOpPtT* SkOpSpanBase::contains(const SkOpSegment* segment) { in contains()
258 bool SkOpSpanBase::containsCoinEnd(const SkOpSegment* segment) const { in containsCoinEnd()
[all …]
DSkPathOpsSimplify.cpp22 SkOpSpanBase* start = span->next(); in bridgeWinding()
23 SkOpSpanBase* end = span; in bridgeWinding()
24 SkTDArray<SkOpSpanBase*> chase; in bridgeWinding()
32 SkOpSpanBase* nextStart = start; in bridgeWinding()
33 SkOpSpanBase* nextEnd = end; in bridgeWinding()
74 SkOpSpanBase* last = current->markAndChaseDone(start, end); in bridgeWinding()
105 SkOpSpanBase* start; in bridgeXor()
106 SkOpSpanBase* end; in bridgeXor()
117 SkOpSpanBase* nextStart = start; in bridgeXor()
118 SkOpSpanBase* nextEnd = end; in bridgeXor()
DSkPathOpsDebug.cpp37 bool SkPathOpsDebug::ChaseContains(const SkTDArray<SkOpSpanBase* >& chaseArray, in ChaseContains()
38 const SkOpSpanBase* span) { in ChaseContains()
40 const SkOpSpanBase* entry = chaseArray[index]; in ChaseContains()
78 const SkOpSpanBase* fBase;
79 const SkOpSpanBase* fSuspect;
109 void record(GlitchType type, const char* stage, const SkOpSpanBase* base, in record()
110 const SkOpSpanBase* suspect = NULL) { in record()
123 void record(GlitchType type, const char* stage, const SkOpSpanBase* base, in record()
132 void record(GlitchType type, const char* stage, const SkOpSpanBase* base, double t, in record()
149 const SkOpSpanBase* suspect) { in record()
[all …]
DSkPathOpsOp.cpp13 static SkOpSegment* findChaseOp(SkTDArray<SkOpSpanBase*>& chase, SkOpSpanBase** startPtr, in findChaseOp()
14 SkOpSpanBase** endPtr) { in findChaseOp()
16 SkOpSpanBase* span; in findChaseOp()
55 SkOpSpanBase* start = angle->start(); in findChaseOp()
56 SkOpSpanBase* end = angle->end(); in findChaseOp()
96 SkOpSpanBase* start = span->next(); in bridgeOp()
97 SkOpSpanBase* end = span; in bridgeOp()
98 SkTDArray<SkOpSpanBase*> chase; in bridgeOp()
106 SkOpSpanBase* nextStart = start; in bridgeOp()
107 SkOpSpanBase* nextEnd = end; in bridgeOp()
[all …]
DSkOpCoincidence.cpp84 SkOpSpanBase* start = startPtT->span(); in addExpanded()
85 SkOpSpanBase* oStart = oStartPtT->span(); in addExpanded()
86 const SkOpSpanBase* end = coin->fCoinPtTEnd->span(); in addExpanded()
87 const SkOpSpanBase* oEnd = coin->fOppPtTEnd->span(); in addExpanded()
91 SkOpSpanBase* test = start->upCast()->next(); in addExpanded()
92 SkOpSpanBase* oTest = coin->fFlipped ? oStart->prev() : oStart->upCast()->next(); in addExpanded()
380 SkOpSpanBase* end = coin->fCoinPtTEnd->span(); in apply()
387 SkOpSpanBase* oEnd = (flipped ? coin->fOppPtTStart : coin->fOppPtTEnd)->span(); in apply()
397 SkOpSpanBase* oNext = oStart->next(); in apply()
465 SkOpSpanBase* next = start->next(); in apply()
[all …]
DSkPathOpsCommon.cpp14 const SkOpAngle* AngleWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* windingPtr, in AngleWinding()
44 SkOpSpanBase* startSpan = angle->start(); in AngleWinding()
45 SkOpSpanBase* endSpan = angle->end(); in AngleWinding()
63 SkOpSegment* FindUndone(SkOpContourHead* contourList, SkOpSpanBase** startPtr, in FindUndone()
64 SkOpSpanBase** endPtr) { in FindUndone()
76 SkOpSegment* FindChase(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** startPtr, in FindChase()
77 SkOpSpanBase** endPtr) { in FindChase()
79 SkOpSpanBase* span; in FindChase()
114 SkOpSpanBase* start = angle->start(); in FindChase()
115 SkOpSpanBase* end = angle->end(); in FindChase()
DSkOpContour.cpp60 SkOpSegment* SkOpContour::undoneSegment(SkOpSpanBase** startPtr, SkOpSpanBase** endPtr) { in undoneSegment()
DSkOpContour.h152 const SkOpSpanBase* debugSpan(int id) const { in debugSpan()
415 SkOpSegment* undoneSegment(SkOpSpanBase** startPtr, SkOpSpanBase** endPtr);
DSkOpAngle.cpp283 const SkOpSpanBase* checkEnd = fEnd; in computeSector()
291 const SkOpSpanBase* oSpan = other->head(); in computeSector()
309 SkOpSpanBase* computedEnd = stepUp ? checkEnd ? checkEnd->prev() : fEnd->segment()->head() in computeSector()
319 SkOpSpanBase* saveEnd = fEnd; in computeSector()
656 SkOpSpanBase* SkOpAngle::lastMarked() const { in lastMarked()
829 void SkOpAngle::set(SkOpSpanBase* start, SkOpSpanBase* end) { in set()
DSkOpCoincidence.h78 const SkOpSpanBase* debugSpan(int id) const { in debugSpan()
DSkPathOpsWinding.cpp190 SkOpSpanBase* next; in windingSpanAtT()
363 SkOpSpanBase* next; in findSortableTop()
DSkPathOpsTypes.h72 const class SkOpSpanBase* debugSpan(int id) const;
/external/skia/tests/
DPathOpsDebug.cpp214 const SkOpSpanBase* SkPathOpsDebug::DebugAngleSpan(const SkOpAngle* angle, int id) { in DebugAngleSpan()
234 const SkOpSpanBase* SkPathOpsDebug::DebugContourSpan(SkOpContour* contour, int id) { in DebugContourSpan()
254 const SkOpSpanBase* SkPathOpsDebug::DebugCoincidenceSpan(SkOpCoincidence* coin, int id) { in DebugCoincidenceSpan()
274 const SkOpSpanBase* SkPathOpsDebug::DebugPtTSpan(const SkOpPtT* ptT, int id) { in DebugPtTSpan()
294 const SkOpSpanBase* SkPathOpsDebug::DebugSegmentSpan(const SkOpSegment* span, int id) { in DebugSegmentSpan()
298 const SkOpAngle* SkPathOpsDebug::DebugSpanAngle(const SkOpSpanBase* span, int id) { in DebugSpanAngle()
302 SkOpContour* SkPathOpsDebug::DebugSpanContour(SkOpSpanBase* span, int id) { in DebugSpanContour()
306 const SkOpPtT* SkPathOpsDebug::DebugSpanPtT(const SkOpSpanBase* span, int id) { in DebugSpanPtT()
310 const SkOpSegment* SkPathOpsDebug::DebugSpanSegment(const SkOpSpanBase* span, int id) { in DebugSpanSegment()
314 const SkOpSpanBase* SkPathOpsDebug::DebugSpanSpan(const SkOpSpanBase* span, int id) { in DebugSpanSpan()
[all …]
DPathOpsAngleTest.cpp481 SkOpSpanBase* startSpan = &fHead; in debugAddAngle()
485 SkOpSpanBase* endSpan = &fHead; in debugAddAngle()