Home
last modified time | relevance | path

Searched refs:SkOpSegment (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/src/pathops/
DSkOpContour.h39 SkOpSegment* segment = &fHead; in addAlignIntersections()
53 SkOpSegment* addCurve(SkPath::Verb verb, const SkPoint pts[4], SkChunkAlloc* allocator);
65 SkOpSegment* segment = &fHead; in align()
71 SkOpSegment& appendSegment(SkChunkAlloc* allocator) { in appendSegment()
72 SkOpSegment* result = fCount++ in appendSegment()
73 ? SkOpTAllocator<SkOpSegment>::Allocate(allocator) : &fHead; in appendSegment()
100 SkOpSegment* segment = &fHead; in calcAngles()
124 SkOpSegment* segment = &fHead; in debugShowActiveSpans()
148 const SkOpSegment* debugSegment(int id) const { in debugSegment()
162 const SkOpSegment* segment = &fHead; in debugValidate()
[all …]
DSkOpSegment.cpp45 SkOpAngle* SkOpSegment::activeAngle(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngle()
56 SkOpAngle* SkOpSegment::activeAngleInner(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngleInner()
97 SkOpAngle* SkOpSegment::activeAngleOther(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngleOther()
100 SkOpSegment* other = oPtT->segment(); 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()
148 bool SkOpSegment::activeWinding(SkOpSpanBase* start, SkOpSpanBase* end) { in activeWinding()
153 bool SkOpSegment::activeWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* sumWinding) { in activeWinding()
162 void SkOpSegment::addAlignIntersection(SkOpPtT& endPtT, SkPoint& oldPt, in addAlignIntersection()
178 SkOpSegment* segment = current->first(); in addAlignIntersection()
[all …]
DSkOpSegment.h24 class SkOpSegment {
31 bool operator<(const SkOpSegment& rh) const {
56 SkOpSegment* addConic(SkPoint pts[3], SkScalar weight, SkOpContour* parent) { in addConic()
64 SkOpSegment* addCubic(SkPoint pts[4], SkOpContour* parent) { in addCubic()
81 SkOpSegment* addLine(SkPoint pts[2], SkOpContour* parent) { in addLine()
87 SkOpPtT* addMissing(double t, SkOpSegment* opp, SkChunkAlloc* );
96 SkOpSegment* addQuad(SkPoint pts[3], SkOpContour* parent) { in addQuad()
143 bool debugAddMissing(double t, const SkOpSegment* opp) const;
164 const SkOpSegment* debugSegment(int id) const;
204 SkOpSegment* findNextOp(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** nextStart,
[all …]
DSkOpSpan.h18 class SkOpSegment; variable
53 SkOpPtT* contains(const SkOpSegment* );
62 const SkOpPtT* debugContains(const SkOpSegment* check) const;
67 const SkOpSegment* debugSegment(int id) const;
85 SkOpPtT* find(SkOpSegment* );
127 const SkOpSegment* segment() const;
128 SkOpSegment* segment();
185 SkOpPtT* contains(const SkOpSegment* );
198 bool containsCoinEnd(const SkOpSegment* ) const;
213 bool debugContains(const SkOpSegment* ) const;
[all …]
DSkPathOpsDebug.h199 static const class SkOpSegment* DebugAngleSegment(const struct SkOpAngle*, int id);
205 static const class SkOpSegment* DebugContourSegment(class SkOpContour*, int id);
211 static const class SkOpSegment* DebugCoincidenceSegment(class SkOpCoincidence*, int id);
217 static const class SkOpSegment* DebugPtTSegment(const class SkOpPtT*, int id);
220 static const struct SkOpAngle* DebugSegmentAngle(const class SkOpSegment*, int id);
221 static class SkOpContour* DebugSegmentContour(class SkOpSegment*, int id);
222 static const class SkOpPtT* DebugSegmentPtT(const class SkOpSegment*, int id);
223 static const class SkOpSegment* DebugSegmentSegment(const class SkOpSegment*, int id);
224 static const class SkOpSpanBase* DebugSegmentSpan(const class SkOpSegment*, int id);
229 static const class SkOpSegment* DebugSpanSegment(const class SkOpSpanBase*, int id);
DSkOpSpan.cpp21 const SkOpSegment* segment = this->segment(); in collapsed()
38 SkOpPtT* SkOpPtT::contains(const SkOpSegment* check) { in contains()
71 SkOpPtT* SkOpPtT::find(SkOpSegment* segment) { in find()
103 const SkOpSegment* segment = this->segment(); in onEnd()
145 const SkOpSegment* SkOpPtT::segment() const { in segment()
149 SkOpSegment* SkOpPtT::segment() { in segment()
163 SkOpSegment* segment = ptT->segment(); in align()
184 SkOpSegment* segment = this->segment(); in alignEnd()
193 SkOpSegment* other = test->segment(); in alignEnd()
247 SkOpPtT* SkOpSpanBase::contains(const SkOpSegment* segment) { in contains()
[all …]
DSkOpContour.cpp13 SkOpSegment* SkOpContour::addCurve(SkPath::Verb verb, const SkPoint pts[4], in addCurve()
43 const SkOpSegment* segment = &fHead; in toPath()
53 const SkOpSegment* segment = fTail; in toReversePath()
60 SkOpSegment* SkOpContour::undoneSegment(SkOpSpanBase** startPtr, SkOpSpanBase** endPtr) { in undoneSegment()
61 SkOpSegment* segment = &fHead; in undoneSegment()
DSkOpCoincidence.cpp112 newPt = oStart->segment()->addT(newT, SkOpSegment::kAllowAlias, allocator); in addExpanded()
120 newPt = start->segment()->addT(newT, SkOpSegment::kAllowAlias, allocator); in addExpanded()
180 SkOpSegment* coinSeg = coinPtTStart->segment(); in addIfMissing()
181 SkOpSegment* oppSeg = oppPtTStart->segment(); in addIfMissing()
185 const SkOpSegment* checkCoinSeg = check->fCoinPtTStart->segment(); in addIfMissing()
189 const SkOpSegment* checkOppSeg = check->fOppPtTStart->segment(); in addIfMissing()
244 const SkOpSegment* outerCoin = outer->fCoinPtTStart->segment(); in addMissing()
246 const SkOpSegment* outerOpp = outer->fOppPtTStart->segment(); in addMissing()
251 const SkOpSegment* innerCoin = inner->fCoinPtTStart->segment(); in addMissing()
253 const SkOpSegment* innerOpp = inner->fOppPtTStart->segment(); in addMissing()
[all …]
DSkOpCoincidence.h67 const SkOpSegment* debugSegment(int id) const { in debugSegment()
106 void addOverlap(SkOpSegment* seg1, SkOpSegment* seg1o, SkOpSegment* seg2, SkOpSegment* seg2o,
DSkPathOpsDebug.cpp81 const SkOpSegment* fSegment;
124 const SkOpSegment* seg, double t, SkPoint pt) { in record()
415 void SkOpSegment::debugAddAlignIntersection(const char* id, SkPathOpsDebug::GlitchLog* log, in debugAddAlignIntersection()
431 const SkOpSegment* segment = current->first(); in debugAddAlignIntersection()
494 bool SkOpSegment::debugAddMissing(double t, const SkOpSegment* opp) const { in debugAddMissing()
509 void SkOpSegment::debugAlign(const char* id, SkPathOpsDebug::GlitchLog* glitches) const { in debugAlign()
545 void SkOpSegment::debugCheckAngleCoin() const { in debugCheckAngleCoin()
567 void SkOpSegment::debugCheckHealth(const char* id, SkPathOpsDebug::GlitchLog* glitches) const { in debugCheckHealth()
576 void SkOpSegment::debugFindCollapsed(const char* id, SkPathOpsDebug::GlitchLog* glitches) const { in debugFindCollapsed()
596 SkOpAngle* SkOpSegment::debugLastAngle() { in debugLastAngle()
[all …]
DSkOpAngle.h18 class SkOpSegment; variable
53 const SkOpSegment* debugSegment(int id) const;
64 void dumpTo(const SkOpSegment* fromSeg, const SkOpAngle* ) const;
99 SkOpSegment* segment() const;
DSkPathOpsWinding.cpp88 SkOpSegment* segment = span->segment(); in makeTestBase()
112 SkOpSegment* testSegment = &fHead; in rayCheck()
118 void SkOpSegment::rayCheck(const SkOpRayHit& base, SkOpRayDir dir, SkOpRayHit** hits, in rayCheck()
188 SkOpSpan* SkOpSegment::windingSpanAtT(double tHit) { in windingSpanAtT()
269 SkOpSegment* hitSegment = span ? span->segment() : nullptr; in sortableTop()
292 SkOpSegment* hitSegment = span->segment(); in sortableTop()
320 int windSum = SkOpSegment::UseInnerWinding(lastWind, wind) ? wind : lastWind; in sortableTop()
334 int oppSum = SkOpSegment::UseInnerWinding(lastOpp, oppWind) ? oppWind : lastOpp; in sortableTop()
361 SkOpSpan* SkOpSegment::findSortableTop(SkOpContour* contourHead) { in findSortableTop()
380 SkOpSegment* testSegment = &fHead; in findSortableTop()
DSkPathOpsCommon.h20 SkOpSegment* FindChase(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** startPtr,
23 SkOpSegment* FindUndone(SkOpContourHead* , SkOpSpanBase** startPtr,
DSkOpAngle.cpp290 const SkOpSegment* other = checkEnd->segment(); in computeSector()
377 const SkOpSegment& segment = *this->segment(); in distEndRatio()
412 const SkOpSegment& segment = index ? *rh->segment() : *this->segment(); in endsIntersect()
440 const SkOpSegment& segment = index ? *rh->segment() : *this->segment(); in endsIntersect()
490 const SkOpSegment& segment = sIndex ? *rh->segment() : *this->segment(); in endsIntersect()
504 const SkOpSegment* segment = this->segment(); in endToSide()
514 const SkOpSegment* oppSegment = rh->segment(); in endToSide()
672 const SkOpSegment* tSegment = angle->fStart->segment(); in loopContains()
676 const SkOpSegment* lSegment = loop->fStart->segment(); in loopContains()
729 const SkOpSegment* segment = this->segment(); in midToSide()
[all …]
DSkPathOpsSimplify.cpp21 SkOpSegment* current = span->segment(); in bridgeWinding()
34 SkOpSegment* next = current->findNextWinding(&chase, &nextStart, &nextEnd, in bridgeWinding()
104 SkOpSegment* current; in bridgeXor()
119 SkOpSegment* next = current->findNextXor(&nextStart, &nextEnd, &unsortable); in bridgeXor()
DSkIntersectionHelper.h59 SkOpSegment* segment() const { in segment()
107 SkOpSegment* fSegment;
DSkPathOpsCommon.cpp17 SkOpSegment* segment = start->segment(); in AngleWinding()
63 SkOpSegment* FindUndone(SkOpContourHead* contourList, SkOpSpanBase** startPtr, in FindUndone()
65 SkOpSegment* result; in FindUndone()
76 SkOpSegment* FindChase(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** startPtr, in FindChase()
81 SkOpSegment* segment = span->segment(); in FindChase()
110 SkOpSegment* first = nullptr; in FindChase()
DSkPathOpsOp.cpp13 static SkOpSegment* findChaseOp(SkTDArray<SkOpSpanBase*>& chase, SkOpSpanBase** startPtr, in findChaseOp()
20 SkOpSegment* segment = (*startPtr)->segment(); in findChaseOp()
51 SkOpSegment* first = nullptr; in findChaseOp()
95 SkOpSegment* current = span->segment(); in bridgeOp()
108 SkOpSegment* next = current->findNextOp(&chase, &nextStart, &nextEnd, in bridgeOp()
DSkOpBuilder.cpp56 SkOpSegment* topSegment = topSpan->segment(); in FixWinding()
DSkAddIntersections.cpp509 SkOpPtT* testTAt = wt.segment()->addT(ts[swap][pt], SkOpSegment::kAllowAlias, in AddIntersectTs()
512 SkOpPtT* nextTAt = wn.segment()->addT(ts[!swap][pt], SkOpSegment::kAllowAlias, in AddIntersectTs()
DSkPathOpsTypes.h71 const class SkOpSegment* debugSegment(int id) const;
/external/skia/tests/
DPathOpsDebug.cpp210 const SkOpSegment* SkPathOpsDebug::DebugAngleSegment(const SkOpAngle* angle, int id) { in DebugAngleSegment()
230 const SkOpSegment* SkPathOpsDebug::DebugContourSegment(SkOpContour* contour, int id) { in DebugContourSegment()
250 const SkOpSegment* SkPathOpsDebug::DebugCoincidenceSegment(SkOpCoincidence* coin, int id) { in DebugCoincidenceSegment()
270 const SkOpSegment* SkPathOpsDebug::DebugPtTSegment(const SkOpPtT* ptT, int id) { in DebugPtTSegment()
278 const SkOpAngle* SkPathOpsDebug::DebugSegmentAngle(const SkOpSegment* span, int id) { in DebugSegmentAngle()
282 SkOpContour* SkPathOpsDebug::DebugSegmentContour(SkOpSegment* span, int id) { in DebugSegmentContour()
286 const SkOpPtT* SkPathOpsDebug::DebugSegmentPtT(const SkOpSegment* span, int id) { in DebugSegmentPtT()
290 const SkOpSegment* SkPathOpsDebug::DebugSegmentSegment(const SkOpSegment* span, int id) { in DebugSegmentSegment()
294 const SkOpSpanBase* SkPathOpsDebug::DebugSegmentSpan(const SkOpSegment* span, int id) { in DebugSegmentSpan()
310 const SkOpSegment* SkPathOpsDebug::DebugSpanSegment(const SkOpSpanBase* span, int id) { in DebugSpanSegment()
[all …]
DPathOpsAngleTest.cpp216 static void DebugReset(SkOpSegment* segment) { in DebugReset()
257 SkOpSegment* first = contour.first(); in DEF_TEST()
259 SkOpSegment* next = first->next(); in DEF_TEST()
456 SkOpSegment* seg1 = contour.first(); in DEF_TEST()
458 SkOpSegment* seg2 = seg1->next(); in DEF_TEST()
460 SkOpSegment* seg3 = seg2->next(); in DEF_TEST()
475 void SkOpSegment::debugAddAngle(double startT, double endT, SkChunkAlloc* allocator) { in debugAddAngle()
DPathOpsAngleIdeas.cpp426 SkOpSegment* seg1 = contour.first(); in testQuadAngles()
428 SkOpSegment* seg2 = seg1->next(); in testQuadAngles()
/external/skia/gyp/
Dcore.gypi442 '<(skia_src_path)/pathops/SkOpSegment.cpp',
470 '<(skia_src_path)/pathops/SkOpSegment.h',

12