Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkOpContour.h45 SkOpSegment* addCurve(SkPath::Verb verb, const SkPoint pts[4], SkChunkAlloc* allocator);
57 SkOpSegment* segment = &fHead; in align()
63 SkOpSegment& appendSegment(SkChunkAlloc* allocator) { in appendSegment()
64 SkOpSegment* result = fCount++ in appendSegment()
65 ? SkOpTAllocator<SkOpSegment>::Allocate(allocator) : &fHead; in appendSegment()
92 SkOpSegment* segment = &fHead; in calcAngles()
116 SkOpSegment* segment = &fHead; in debugShowActiveSpans()
135 const SkOpSegment* debugSegment(int id) const { in debugSegment()
149 const SkOpSegment* segment = &fHead; in debugValidate()
150 const SkOpSegment* prior = NULL; 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::addCurveTo(const SkOpSpanBase* start, const SkOpSpanBase* end, in addCurveTo()
218 SkOpPtT* SkOpSegment::addMissing(double t, SkOpSegment* opp, SkChunkAlloc* allocator) { in addMissing()
[all …]
DSkOpSegment.h24 class SkOpSegment {
31 bool operator<(const SkOpSegment& rh) const {
49 SkOpSegment* addConic(SkPoint pts[3], SkScalar weight, SkOpContour* parent) { in addConic()
57 SkOpSegment* addCubic(SkPoint pts[4], SkOpContour* parent) { in addCubic()
75 SkOpSegment* addLine(SkPoint pts[2], SkOpContour* parent) { in addLine()
81 SkOpPtT* addMissing(double t, SkOpSegment* opp, SkChunkAlloc* );
90 SkOpSegment* addQuad(SkPoint pts[3], SkOpContour* parent) { in addQuad()
139 const SkOpSegment* debugSegment(int id) const;
178 SkOpSegment* findNextOp(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** nextStart,
181 SkOpSegment* findNextWinding(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** nextStart,
[all …]
DSkOpSpan.h17 class SkOpSegment; variable
61 const SkOpSegment* debugSegment(int id) const;
99 const SkOpSegment* segment() const;
100 SkOpSegment* segment();
153 SkOpPtT* contains(const SkOpSegment* );
166 bool containsCoinEnd(const SkOpSegment* ) const;
181 const SkOpSegment* debugSegment(int id) const;
203 void initBase(SkOpSegment* parent, SkOpSpan* prev, double t, const SkPoint& pt);
236 SkOpSegment* segment() const { in segment()
244 SkOpPtT* setCoinEnd(SkOpSpanBase* oldCoinEnd, SkOpSegment* oppSegment);
[all …]
DSkPathOpsDebug.h173 static const class SkOpSegment* DebugAngleSegment(const struct SkOpAngle*, int id);
179 static const class SkOpSegment* DebugContourSegment(class SkOpContour*, int id);
185 static const class SkOpSegment* DebugPtTSegment(const class SkOpPtT*, int id);
188 static const struct SkOpAngle* DebugSegmentAngle(const class SkOpSegment*, int id);
189 static class SkOpContour* DebugSegmentContour(class SkOpSegment*, int id);
190 static const class SkOpPtT* DebugSegmentPtT(const class SkOpSegment*, int id);
191 static const class SkOpSegment* DebugSegmentSegment(const class SkOpSegment*, int id);
192 static const class SkOpSpanBase* DebugSegmentSpan(const class SkOpSegment*, int id);
197 static const class SkOpSegment* DebugSpanSegment(const class SkOpSpanBase*, int id);
DSkOpSpan.cpp39 const SkOpSegment* segment = this->segment(); in onEnd()
81 const SkOpSegment* SkOpPtT::segment() const { in segment()
85 SkOpSegment* SkOpPtT::segment() { in segment()
99 SkOpSegment* segment = ptT->segment(); in align()
120 SkOpSegment* segment = this->segment(); in alignEnd()
129 SkOpSegment* other = test->segment(); in alignEnd()
183 SkOpPtT* SkOpSpanBase::contains(const SkOpSegment* segment) { in contains()
194 bool SkOpSpanBase::containsCoinEnd(const SkOpSegment* segment) const { in containsCoinEnd()
213 void SkOpSpanBase::initBase(SkOpSegment* segment, SkOpSpan* prev, double t, const SkPoint& pt) { in initBase()
262 bool SkOpSpan::containsCoincidence(const SkOpSegment* segment) const { in containsCoincidence()
[all …]
DSkOpContour.cpp13 SkOpSegment* SkOpContour::addCurve(SkPath::Verb verb, const SkPoint pts[4], in addCurve()
43 const SkOpSegment* segment = &fHead; in toPath()
50 SkOpSegment* SkOpContour::undoneSegment(SkOpSpanBase** startPtr, SkOpSpanBase** endPtr) { in undoneSegment()
51 SkOpSegment* segment = &fHead; in undoneSegment()
DSkPathOpsPostSect.cpp39 const SkOpSegment* segment = this->segment(); in onEnd()
69 const SkOpSegment* SkOpPtT::segment() const { in segment()
73 SkOpSegment* SkOpPtT::segment() { in segment()
103 SkOpSegment* other; in addSimpleAngle()
143 SkOpSegment* segment = ptT->segment(); in align()
164 SkOpSegment* segment = this->segment(); in alignEnd()
173 SkOpSegment* other = test->segment(); in alignEnd()
227 bool SkOpSpanBase::containsCoinEnd(const SkOpSegment* segment) const { in containsCoinEnd()
246 void SkOpSpanBase::initBase(SkOpSegment* segment, SkOpSpan* prev, double t, const SkPoint& pt) { in initBase()
296 bool SkOpSpan::containsCoincidence(const SkOpSegment* segment) const { in containsCoincidence()
[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() : NULL; 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()
356 SkOpSpan* SkOpSegment::findSortableTop(SkOpContour* contourHead) { in findSortableTop()
375 SkOpSegment* testSegment = &fHead; in findSortableTop()
DSkOpAngle.cpp234 SkOpSegment* testSegment = test->segment(); in checkNearCoincidence()
246 SkOpSegment* nextSegment = next->segment(); in checkNearCoincidence()
338 const SkOpSegment* other = checkEnd->segment(); in computeSector()
425 const SkOpSegment& segment = *this->segment(); in distEndRatio()
460 const SkOpSegment& segment = index ? *rh->segment() : *this->segment(); in endsIntersect()
488 const SkOpSegment& segment = index ? *rh->segment() : *this->segment(); in endsIntersect()
538 const SkOpSegment& segment = sIndex ? *rh->segment() : *this->segment(); in endsIntersect()
552 const SkOpSegment* segment = this->segment(); in endToSide()
562 const SkOpSegment* oppSegment = rh->segment(); in endToSide()
720 const SkOpSegment* tSegment = angle->fStart->segment(); in loopContains()
[all …]
DSkPathOpsCommon.h20 SkOpSegment* FindChase(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** startPtr,
23 SkOpSegment* FindUndone(SkOpContourHead* , SkOpSpanBase** startPtr,
DSkOpCoincidence.cpp75 SkOpSegment* coinSeg = coinPtTStart->segment(); in addIfMissing()
76 SkOpSegment* oppSeg = oppPtTStart->segment(); in addIfMissing()
80 const SkOpSegment* checkCoinSeg = check->fCoinPtTStart->segment(); in addIfMissing()
84 const SkOpSegment* checkOppSeg = check->fOppPtTStart->segment(); in addIfMissing()
211 SkOpSegment* segment = start->segment(); in apply()
212 SkOpSegment* oSegment = oStart->segment(); in apply()
327 SkOpSegment* segment = coin->fCoinPtTStart->segment(); in expand()
328 SkOpSegment* oppSegment = coin->fOppPtTStart->segment(); in expand()
DSkPathOpsSimplify.cpp21 SkOpSegment* current = span->segment(); in bridgeWinding()
34 SkOpSegment* next = current->findNextWinding(&chase, &nextStart, &nextEnd, in bridgeWinding()
97 SkOpSegment* current; in bridgeXor()
112 SkOpSegment* next = current->findNextXor(&nextStart, &nextEnd, &unsortable); in bridgeXor()
DSkPathOpsOp.cpp13 static SkOpSegment* findChaseOp(SkTDArray<SkOpSpanBase*>& chase, SkOpSpanBase** startPtr, in findChaseOp()
20 SkOpSegment* segment = (*startPtr)->segment(); in findChaseOp()
51 SkOpSegment* first = NULL; in findChaseOp()
95 SkOpSegment* current = span->segment(); in bridgeOp()
108 SkOpSegment* next = current->findNextOp(&chase, &nextStart, &nextEnd, in bridgeOp()
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 = NULL; in FindChase()
DSkPathOpsDebug.cpp157 SkOpAngle* SkOpSegment::debugLastAngle() { in debugLastAngle()
170 void SkOpSegment::debugReset() { in debugReset()
175 void SkOpSegment::debugShowActiveSpans() const { in debugShowActiveSpans()
223 void SkOpSegment::debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding) { in debugShowNewWinding()
246 void SkOpSegment::debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding, in debugShowNewWinding()
405 void SkOpSegment::debugValidate() const { in debugValidate()
DSkAddIntersections.cpp506 SkOpPtT* testTAt = wt.segment()->addT(ts[swap][pt], SkOpSegment::kAllowAlias, in AddIntersectTs()
509 SkOpPtT* nextTAt = wn.segment()->addT(ts[!swap][pt], SkOpSegment::kAllowAlias, in AddIntersectTs()
DSkPathOpsTypes.h73 const class SkOpSegment* debugSegment(int id) const;
/external/skia/tests/
DPathOpsDebug.cpp213 const SkOpSegment* SkPathOpsDebug::DebugAngleSegment(const SkOpAngle* angle, int id) { in DebugAngleSegment()
233 const SkOpSegment* SkPathOpsDebug::DebugContourSegment(SkOpContour* contour, int id) { in DebugContourSegment()
253 const SkOpSegment* SkPathOpsDebug::DebugPtTSegment(const SkOpPtT* ptT, int id) { in DebugPtTSegment()
261 const SkOpAngle* SkPathOpsDebug::DebugSegmentAngle(const SkOpSegment* span, int id) { in DebugSegmentAngle()
265 SkOpContour* SkPathOpsDebug::DebugSegmentContour(SkOpSegment* span, int id) { in DebugSegmentContour()
269 const SkOpPtT* SkPathOpsDebug::DebugSegmentPtT(const SkOpSegment* span, int id) { in DebugSegmentPtT()
273 const SkOpSegment* SkPathOpsDebug::DebugSegmentSegment(const SkOpSegment* span, int id) { in DebugSegmentSegment()
277 const SkOpSpanBase* SkPathOpsDebug::DebugSegmentSpan(const SkOpSegment* span, int id) { in DebugSegmentSpan()
293 const SkOpSegment* SkPathOpsDebug::DebugSpanSegment(const SkOpSpanBase* span, int id) { in DebugSpanSegment()
727 const SkOpSegment* SkOpAngle::debugSegment(int id) const { in debugSegment()
[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.gypi354 '<(skia_src_path)/pathops/SkOpSegment.cpp',
382 '<(skia_src_path)/pathops/SkOpSegment.h',
/external/skia/
DAndroid.mk262 src/pathops/SkOpSegment.cpp \