Home
last modified time | relevance | path

Searched refs:SkOpSpan (Results 1 – 25 of 42) sorted by relevance

12

/external/skqp/src/pathops/
DSkOpSpan.h20 class SkOpSpan; variable
257 const SkOpSpan* debugStarter(SkOpSpanBase const** endPtr) const;
279 void initBase(SkOpSegment* parent, SkOpSpan* prev, double t, const SkPoint& pt);
295 void merge(SkOpSpan* span);
298 const SkOpSpan* prev() const { in prev()
302 SkOpSpan* prev() { in prev()
334 void setPrev(SkOpSpan* prev) { in setPrev()
347 const SkOpSpan* starter(const SkOpSpanBase* end) const { in starter()
352 SkOpSpan* starter(SkOpSpanBase* end) { in starter()
358 SkOpSpan* starter(SkOpSpanBase** endPtr) { in starter()
[all …]
DSkOpSegment.h115 void clearOne(SkOpSpan* span);
138 void debugClearOne(const SkOpSpan* span, SkPathOpsDebug::GlitchLog* glitches) const;
161 void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding);
162 void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding, int oppWinding);
220 SkOpSpan* findSortableTop(SkOpContour* );
223 const SkOpSpan* head() const { in head()
227 SkOpSpan* head() { in head()
233 SkOpSpan* insert(SkOpSpan* prev) { in insert()
236 SkOpSpan* result = globalState->allocator()->make<SkOpSpan>(); in insert()
285 void markDone(SkOpSpan* );
[all …]
DSkOpSpan.cpp237 void SkOpSpanBase::initBase(SkOpSegment* segment, SkOpSpan* prev, double t, const SkPoint& pt) { in initBase()
253 void SkOpSpanBase::merge(SkOpSpan* span) { in merge()
372 int SkOpSpan::computeWindSum() { in computeWindSum()
381 bool SkOpSpan::containsCoincidence(const SkOpSegment* segment) const { in containsCoincidence()
383 const SkOpSpan* next = fCoincident; in containsCoincidence()
392 void SkOpSpan::init(SkOpSegment* segment, SkOpSpan* prev, double t, const SkPoint& pt) { in init()
407 bool SkOpSpan::insertCoincidence(const SkOpSegment* segment, bool flipped, bool ordered) { in insertCoincidence()
414 SkOpSpan* span; in insertCoincidence()
422 span = const_cast<SkOpSpan*>(start->span()->upCast()); in insertCoincidence()
440 void SkOpSpan::release(const SkOpPtT* kept) { in release()
[all …]
DSkPathOpsWinding.cpp86 SkOpRayDir makeTestBase(SkOpSpan* span, double t) { in makeTestBase()
98 SkOpSpan* fSpan;
173 SkOpSpan* span = this->windingSpanAtT(t); in rayCheck()
190 SkOpSpan* SkOpSegment::windingSpanAtT(double tHit) { in windingSpanAtT()
191 SkOpSpan* span = &fHead; in windingSpanAtT()
237 bool SkOpSpan::sortableTop(SkOpContour* contourHead) { in sortableTop()
277 SkOpSpan* span = hit->fSpan; in sortableTop()
300 SkOpSpan* span = hit->fSpan; in sortableTop()
372 SkOpSpan* SkOpSegment::findSortableTop(SkOpContour* contourHead) { in findSortableTop()
373 SkOpSpan* span = &fHead; in findSortableTop()
[all …]
DSkOpSegment.cpp61 SkOpSpan* upSpan = start->upCastable(); in activeAngleInner()
79 SkOpSpan* downSpan = start->prev(); in activeAngleInner()
168 const SkOpSpan* spanStart = start->starter(end); in addCurveTo()
170 const_cast<SkOpSpan*>(spanStart)->markAdded(); in addCurveTo()
263 SkOpSpan* prev = result->span()->prev(); in addT()
266 SkOpSpan* span = this->insert(prev); in addT()
291 SkOpSpan* prior = &fHead; in calcAngles()
299 SkOpSpan* span = spanBase->upCast(); in calcAngles()
318 SkOpSpan* span = &fHead; in clearAll()
326 void SkOpSegment::clearOne(SkOpSpan* span) { in clearOne()
[all …]
DSkPathOpsCommon.h21 SkOpSpan* FindSortableTop(SkOpContourHead* );
22 SkOpSpan* FindUndone(SkOpContourHead* );
DSkPathOpsSimplify.cpp16 SkOpSpan* span = FindSortableTop(contourList); in bridgeWinding()
51 SkOpSpan* spanStart = start->starter(end); in bridgeWinding()
93 SkOpSpan* span = FindUndone(contourList); in bridgeXor()
128 SkOpSpan* spanStart = start->starter(end); in bridgeXor()
DSkPathOpsDebug.cpp202 const SkOpSpan* span) { in record()
758 const SkOpSpan* prev = result->span()->prev(); in debugAddT()
781 const SkOpSpan* span; in debugCheckAngleCoin()
809 const SkOpSpan* span = &fHead; in debugClearAll()
817 void SkOpSegment::debugClearOne(const SkOpSpan* span, SkPathOpsDebug::GlitchLog* glitches) const { in debugClearOne()
826 SkOpSpan* span = this->head(); in debugLastAngle()
866 const SkOpSpan* prior = nullptr; in debugMissingCoincidence()
890 const SkOpSpan* span = spanBase->upCastable(); in debugMissingCoincidence()
902 const SkOpSpan* priorTest = spanBase->prev(); in debugMissingCoincidence()
1148 const SkOpSpan* span = &fHead; in debugShowActiveSpans()
[all …]
DSkOpAngle.h20 class SkOpSpan; variable
88 SkOpSpan* starter();
DSkPathOpsCommon.cpp51 SkOpSpan* lesser = startSpan->starter(endSpan); in AngleWinding()
68 SkOpSpan* FindUndone(SkOpContourHead* contourHead) { in FindUndone()
74 SkOpSpan* result = contour->undoneSpan(); in FindUndone()
DSkOpCoincidence.cpp37 const SkOpSpan* prev = origSpan->prev(); in correctOneEnd()
63 const SkOpSpan* start = coinPtTStart()->span()->upCast(); in expand()
64 const SkOpSpan* prev = start->prev(); in expand()
281 bool SkOpCoincidence::addEndMovedSpans(const SkOpSpan* base, const SkOpSpanBase* testSpan) { in addEndMovedSpans()
323 SkOpSpan* writableBase = const_cast<SkOpSpan*>(base); in addEndMovedSpans()
359 const SkOpSpan* base = ptT->span()->upCast(); in addEndMovedSpans()
360 const SkOpSpan* prev = base->prev(); in addEndMovedSpans()
1027 SkOpSpan* start = startSpan->upCast(); in apply()
1037 SkOpSpan* oStart = oStartBase->upCast(); in apply()
1344 SkOpSpan* start = startBase->upCast(); in mark()
DSkPathOpsDebug.h25 class SkOpSpan; variable
468 void DumpCoin(const SkOpSpan& );
469 bool DumpSpan(const SkOpSpan& );
/external/skia/src/pathops/
DSkOpSpan.h20 class SkOpSpan; variable
257 const SkOpSpan* debugStarter(SkOpSpanBase const** endPtr) const;
279 void initBase(SkOpSegment* parent, SkOpSpan* prev, double t, const SkPoint& pt);
295 void merge(SkOpSpan* span);
298 const SkOpSpan* prev() const { in prev()
302 SkOpSpan* prev() { in prev()
334 void setPrev(SkOpSpan* prev) { in setPrev()
347 const SkOpSpan* starter(const SkOpSpanBase* end) const { in starter()
352 SkOpSpan* starter(SkOpSpanBase* end) { in starter()
358 SkOpSpan* starter(SkOpSpanBase** endPtr) { in starter()
[all …]
DSkOpSegment.h115 void clearOne(SkOpSpan* span);
138 void debugClearOne(const SkOpSpan* span, SkPathOpsDebug::GlitchLog* glitches) const;
161 void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding);
162 void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding, int oppWinding);
220 SkOpSpan* findSortableTop(SkOpContour* );
223 const SkOpSpan* head() const { in head()
227 SkOpSpan* head() { in head()
233 SkOpSpan* insert(SkOpSpan* prev) { in insert()
236 SkOpSpan* result = globalState->allocator()->make<SkOpSpan>(); in insert()
285 void markDone(SkOpSpan* );
[all …]
DSkOpSpan.cpp237 void SkOpSpanBase::initBase(SkOpSegment* segment, SkOpSpan* prev, double t, const SkPoint& pt) { in initBase()
253 void SkOpSpanBase::merge(SkOpSpan* span) { in merge()
372 int SkOpSpan::computeWindSum() { in computeWindSum()
381 bool SkOpSpan::containsCoincidence(const SkOpSegment* segment) const { in containsCoincidence()
383 const SkOpSpan* next = fCoincident; in containsCoincidence()
392 void SkOpSpan::init(SkOpSegment* segment, SkOpSpan* prev, double t, const SkPoint& pt) { in init()
407 bool SkOpSpan::insertCoincidence(const SkOpSegment* segment, bool flipped, bool ordered) { in insertCoincidence()
414 SkOpSpan* span; in insertCoincidence()
422 span = const_cast<SkOpSpan*>(start->span()->upCast()); in insertCoincidence()
440 void SkOpSpan::release(const SkOpPtT* kept) { in release()
[all …]
DSkPathOpsWinding.cpp86 SkOpRayDir makeTestBase(SkOpSpan* span, double t) { in makeTestBase()
98 SkOpSpan* fSpan;
173 SkOpSpan* span = this->windingSpanAtT(t); in rayCheck()
190 SkOpSpan* SkOpSegment::windingSpanAtT(double tHit) { in windingSpanAtT()
191 SkOpSpan* span = &fHead; in windingSpanAtT()
237 bool SkOpSpan::sortableTop(SkOpContour* contourHead) { in sortableTop()
277 SkOpSpan* span = hit->fSpan; in sortableTop()
300 SkOpSpan* span = hit->fSpan; in sortableTop()
372 SkOpSpan* SkOpSegment::findSortableTop(SkOpContour* contourHead) { in findSortableTop()
373 SkOpSpan* span = &fHead; in findSortableTop()
[all …]
DSkOpSegment.cpp61 SkOpSpan* upSpan = start->upCastable(); in activeAngleInner()
79 SkOpSpan* downSpan = start->prev(); in activeAngleInner()
168 const SkOpSpan* spanStart = start->starter(end); in addCurveTo()
170 const_cast<SkOpSpan*>(spanStart)->markAdded(); in addCurveTo()
263 SkOpSpan* prev = result->span()->prev(); in addT()
266 SkOpSpan* span = this->insert(prev); in addT()
291 SkOpSpan* prior = &fHead; in calcAngles()
299 SkOpSpan* span = spanBase->upCast(); in calcAngles()
318 SkOpSpan* span = &fHead; in clearAll()
326 void SkOpSegment::clearOne(SkOpSpan* span) { in clearOne()
[all …]
DSkPathOpsCommon.h21 SkOpSpan* FindSortableTop(SkOpContourHead* );
22 SkOpSpan* FindUndone(SkOpContourHead* );
DSkPathOpsSimplify.cpp16 SkOpSpan* span = FindSortableTop(contourList); in bridgeWinding()
51 SkOpSpan* spanStart = start->starter(end); in bridgeWinding()
93 SkOpSpan* span = FindUndone(contourList); in bridgeXor()
128 SkOpSpan* spanStart = start->starter(end); in bridgeXor()
DSkPathOpsDebug.cpp202 const SkOpSpan* span) { in record()
757 const SkOpSpan* prev = result->span()->prev(); in debugAddT()
780 const SkOpSpan* span; in debugCheckAngleCoin()
808 const SkOpSpan* span = &fHead; in debugClearAll()
816 void SkOpSegment::debugClearOne(const SkOpSpan* span, SkPathOpsDebug::GlitchLog* glitches) const { in debugClearOne()
825 SkOpSpan* span = this->head(); in debugLastAngle()
865 const SkOpSpan* prior = nullptr; in debugMissingCoincidence()
889 const SkOpSpan* span = spanBase->upCastable(); in debugMissingCoincidence()
901 const SkOpSpan* priorTest = spanBase->prev(); in debugMissingCoincidence()
1147 const SkOpSpan* span = &fHead; in debugShowActiveSpans()
[all …]
DSkOpAngle.h20 class SkOpSpan; variable
88 SkOpSpan* starter();
DSkPathOpsCommon.cpp51 SkOpSpan* lesser = startSpan->starter(endSpan); in AngleWinding()
68 SkOpSpan* FindUndone(SkOpContourHead* contourHead) { in FindUndone()
74 SkOpSpan* result = contour->undoneSpan(); in FindUndone()
DSkOpCoincidence.cpp37 const SkOpSpan* prev = origSpan->prev(); in correctOneEnd()
63 const SkOpSpan* start = coinPtTStart()->span()->upCast(); in expand()
64 const SkOpSpan* prev = start->prev(); in expand()
281 bool SkOpCoincidence::addEndMovedSpans(const SkOpSpan* base, const SkOpSpanBase* testSpan) { in addEndMovedSpans()
323 SkOpSpan* writableBase = const_cast<SkOpSpan*>(base); in addEndMovedSpans()
359 const SkOpSpan* base = ptT->span()->upCast(); in addEndMovedSpans()
360 const SkOpSpan* prev = base->prev(); in addEndMovedSpans()
1027 SkOpSpan* start = startSpan->upCast(); in apply()
1037 SkOpSpan* oStart = oStartBase->upCast(); in apply()
1344 SkOpSpan* start = startBase->upCast(); in mark()
/external/skqp/tests/
DPathOpsDebug.cpp540 const SkOpSpan& mSpan = *fStart->starter(fEnd); in dumpOne()
764 const SkOpSpan* span = this->upCastable(); in dumpCoin()
774 void SkOpSpan::dumpCoin() const { in dumpCoin()
775 const SkOpSpan* coincident = fCoincident; in dumpCoin()
788 bool SkOpSpan::dumpSpan() const { in dumpSpan()
789 SkOpSpan* coin = fCoincident; in dumpSpan()
874 const SkOpSpan* span = &fHead; in dumpCoin()
1071 const SkOpSpan* span = segment->head(); in debugAngle()
1108 const SkOpSpan* span = segment->head(); in debugPtT()
1145 const SkOpSpan* span = segment->head(); in debugSpan()
[all …]
/external/skia/tests/
DPathOpsDebug.cpp540 const SkOpSpan& mSpan = *fStart->starter(fEnd); in dumpOne()
764 const SkOpSpan* span = this->upCastable(); in dumpCoin()
774 void SkOpSpan::dumpCoin() const { in dumpCoin()
775 const SkOpSpan* coincident = fCoincident; in dumpCoin()
788 bool SkOpSpan::dumpSpan() const { in dumpSpan()
789 SkOpSpan* coin = fCoincident; in dumpSpan()
874 const SkOpSpan* span = &fHead; in dumpCoin()
1071 const SkOpSpan* span = segment->head(); in debugAngle()
1108 const SkOpSpan* span = segment->head(); in debugPtT()
1145 const SkOpSpan* span = segment->head(); in debugSpan()
[all …]

12