/external/skia/src/pathops/ |
D | SkOpContour.h | 38 SkOpSegment* addLine(SkPoint pts[2]) { in addLine() 47 SkOpSegment& appendSegment() { in appendSegment() 48 SkOpSegment* result = fCount++ ? this->globalState()->allocator()->make<SkOpSegment>() in appendSegment() 64 SkOpSegment* segment = &fHead; in calcAngles() 113 const SkOpSegment* debugSegment(int id) const { in debugSegment() 119 SkOpSegment* segment = &fHead; in debugShowActiveSpans() 136 const SkOpSegment* segment = &fHead; in debugValidate() 137 const SkOpSegment* prior = nullptr; in debugValidate() 176 SkOpSegment* first() { in first() 181 const SkOpSegment* first() const { in first() [all …]
|
D | SkOpCoincidence.h | 163 const SkOpSegment* coinSeg, const SkOpSegment* oppSeg, 195 const SkOpSegment* debugSegment(int id) const { in debugSegment() 202 void debugRelease(SkPathOpsDebug::GlitchLog* , const SkOpSegment* ) const; 237 static bool Ordered(const SkOpSegment* coin, const SkOpSegment* opp); 238 void release(const SkOpSegment* ); 252 double tStart, double tEnd, SkOpSegment* coinSeg, SkOpSegment* oppSeg, 255 bool addOrOverlap(SkOpSegment* coinSeg, SkOpSegment* oppSeg, 257 bool addOverlap(const SkOpSegment* seg1, const SkOpSegment* seg1o, 258 const SkOpSegment* seg2, const SkOpSegment* seg2o, 261 const SkOpSegment* coinSeg, const SkOpSegment* oppSeg, [all …]
|
D | SkOpSegment.cpp | 48 SkOpAngle* SkOpSegment::activeAngle(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngle() 59 SkOpAngle* SkOpSegment::activeAngleInner(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngleInner() 100 SkOpAngle* SkOpSegment::activeAngleOther(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngleOther() 103 SkOpSegment* other = oPtT->segment(); 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() 152 bool SkOpSegment::activeWinding(SkOpSpanBase* start, SkOpSpanBase* end) { in activeWinding() 157 bool SkOpSegment::activeWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* sumWinding) { in activeWinding() 166 bool SkOpSegment::addCurveTo(const SkOpSpanBase* start, const SkOpSpanBase* end, in addCurveTo() 197 const SkOpPtT* SkOpSegment::existing(double t, const SkOpSegment* opp) const { in existing() [all …]
|
D | SkOpSegment.h | 24 class SkOpSegment { 26 bool operator<(const SkOpSegment& rh) const { 44 SkOpSegment* addConic(SkPoint pts[3], SkScalar weight, SkOpContour* parent) { in addConic() 52 SkOpSegment* addCubic(SkPoint pts[4], SkOpContour* parent) { in addCubic() 71 SkOpSegment* addLine(SkPoint pts[2], SkOpContour* parent) { in addLine() 78 SkOpPtT* addMissing(double t, SkOpSegment* opp, bool* allExist); 87 SkOpSegment* addQuad(SkPoint pts[3], SkOpContour* parent) { in addQuad() 155 const SkOpSegment* debugSegment(int id) const; 213 const SkOpPtT* existing(double t, const SkOpSegment* opp) const; 214 SkOpSegment* findNextOp(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** nextStart, [all …]
|
D | SkOpSpan.h | 18 class SkOpSegment; variable 45 bool contains(const SkOpSegment*, const SkPoint& ) const; 46 bool contains(const SkOpSegment*, double t) const; 47 const SkOpPtT* contains(const SkOpSegment* ) const; 58 const SkOpPtT* debugContains(const SkOpSegment* check) const; 66 const SkOpSegment* debugSegment(int id) const; 83 const SkOpPtT* find(const SkOpSegment* ) const; 140 const SkOpSegment* segment() const; 141 SkOpSegment* segment(); 204 const SkOpPtT* contains(const SkOpSegment* ) const; [all …]
|
D | SkPathOpsDebug.h | 24 class SkOpSegment; variable 389 const SkOpSegment* AngleSegment(const SkOpAngle*, int id); 395 const SkOpSegment* ContourSegment(SkOpContour*, int id); 401 const SkOpSegment* CoincidenceSegment(SkOpCoincidence*, int id); 407 const SkOpSegment* PtTSegment(const SkOpPtT*, int id); 410 const SkOpAngle* SegmentAngle(const SkOpSegment*, int id); 411 SkOpContour* SegmentContour(SkOpSegment*, int id); 412 const SkOpPtT* SegmentPtT(const SkOpSegment*, int id); 413 const SkOpSegment* SegmentSegment(const SkOpSegment*, int id); 414 const SkOpSpanBase* SegmentSpan(const SkOpSegment*, int id); [all …]
|
D | SkOpCoincidence.cpp | 60 const SkOpSegment* segment = coinPtTStart()->segment(); in expand() 61 const SkOpSegment* oppSegment = oppPtTStart()->segment(); in expand() 164 const SkOpSegment* oppSeg = this->oppPtTStart()->segment(); in ordered() 197 const SkOpSegment* coinSeg = coinPtTStart->segment(); in extend() 198 const SkOpSegment* oppSeg = oppPtTStart->segment(); in extend() 284 const SkOpSegment* baseSeg = base->segment(); in addEndMovedSpans() 290 const SkOpSegment* testSeg = testPtT->segment(); in addEndMovedSpans() 318 SkOpSegment* writableSeg = const_cast<SkOpSegment*>(testSeg); in addEndMovedSpans() 328 SkOpSegment* coinSeg = base->segment(); in addEndMovedSpans() 329 SkOpSegment* oppSeg = oppStart->segment(); in addEndMovedSpans() [all …]
|
D | SkOpSpan.cpp | 42 bool SkOpPtT::contains(const SkOpSegment* segment, const SkPoint& pt) const { in contains() 54 bool SkOpPtT::contains(const SkOpSegment* segment, double t) const { in contains() 65 const SkOpPtT* SkOpPtT::contains(const SkOpSegment* check) const { in contains() 81 const SkOpPtT* SkOpPtT::find(const SkOpSegment* segment) const { in find() 114 const SkOpSegment* segment = this->segment(); in onEnd() 138 const SkOpSegment* SkOpPtT::segment() const { in segment() 142 SkOpSegment* SkOpPtT::segment() { in segment() 169 const SkOpSegment* segment = this->segment(); in collapsed() 204 const SkOpPtT* SkOpSpanBase::contains(const SkOpSegment* segment) const { in contains() 218 bool SkOpSpanBase::containsCoinEnd(const SkOpSegment* segment) const { in containsCoinEnd() [all …]
|
D | SkPathOpsDebug.cpp | 81 const SkOpSegment* fSegment; 82 const SkOpSegment* fOppSegment; 147 const SkOpSegment* seg, double t, SkPoint pt) { in record() 190 void record(GlitchType type, const SkOpSegment* seg, double startT, in record() 191 double endT, const SkOpSegment* oppSeg, double oppStartT, double oppEndT) { in record() 201 void record(GlitchType type, const SkOpSegment* seg, in record() 214 void record(GlitchType type, const SkOpSegment* seg) { in record() 746 const SkOpPtT* SkOpSegment::debugAddT(double t, SkPathOpsDebug::GlitchLog* log) const { in debugAddT() 778 void SkOpSegment::debugCheckAngleCoin() const { in debugCheckAngleCoin() 800 void SkOpSegment::debugCheckHealth(SkPathOpsDebug::GlitchLog* glitches) const { in debugCheckHealth() [all …]
|
D | SkOpAngle.h | 18 class SkOpSegment; variable 49 const SkOpSegment* debugSegment(int id) const; 60 void dumpTo(const SkOpSegment* fromSeg, const SkOpAngle* ) const; 77 SkOpSegment* segment() const;
|
D | SkPathOpsWinding.cpp | 90 SkOpSegment* segment = span->segment(); in makeTestBase() 114 SkOpSegment* testSegment = &fHead; in rayCheck() 120 void SkOpSegment::rayCheck(const SkOpRayHit& base, SkOpRayDir dir, SkOpRayHit** hits, in rayCheck() 190 SkOpSpan* SkOpSegment::windingSpanAtT(double tHit) { in windingSpanAtT() 278 SkOpSegment* hitSegment = span ? span->segment() : nullptr; in sortableTop() 304 SkOpSegment* hitSegment = span->segment(); in sortableTop() 330 int windSum = SkOpSegment::UseInnerWinding(lastWind, wind) ? wind : lastWind; in sortableTop() 344 int oppSum = SkOpSegment::UseInnerWinding(lastOpp, oppWind) ? oppWind : lastOpp; in sortableTop() 372 SkOpSpan* SkOpSegment::findSortableTop(SkOpContour* contourHead) { in findSortableTop() 393 SkOpSegment* testSegment = &fHead; in findSortableTop()
|
/external/skqp/src/pathops/ |
D | SkOpContour.h | 38 SkOpSegment* addLine(SkPoint pts[2]) { in addLine() 47 SkOpSegment& appendSegment() { in appendSegment() 48 SkOpSegment* result = fCount++ ? this->globalState()->allocator()->make<SkOpSegment>() in appendSegment() 64 SkOpSegment* segment = &fHead; in calcAngles() 113 const SkOpSegment* debugSegment(int id) const { in debugSegment() 119 SkOpSegment* segment = &fHead; in debugShowActiveSpans() 136 const SkOpSegment* segment = &fHead; in debugValidate() 137 const SkOpSegment* prior = nullptr; in debugValidate() 176 SkOpSegment* first() { in first() 181 const SkOpSegment* first() const { in first() [all …]
|
D | SkOpCoincidence.h | 163 const SkOpSegment* coinSeg, const SkOpSegment* oppSeg, 195 const SkOpSegment* debugSegment(int id) const { in debugSegment() 202 void debugRelease(SkPathOpsDebug::GlitchLog* , const SkOpSegment* ) const; 237 static bool Ordered(const SkOpSegment* coin, const SkOpSegment* opp); 238 void release(const SkOpSegment* ); 252 double tStart, double tEnd, SkOpSegment* coinSeg, SkOpSegment* oppSeg, 255 bool addOrOverlap(SkOpSegment* coinSeg, SkOpSegment* oppSeg, 257 bool addOverlap(const SkOpSegment* seg1, const SkOpSegment* seg1o, 258 const SkOpSegment* seg2, const SkOpSegment* seg2o, 261 const SkOpSegment* coinSeg, const SkOpSegment* oppSeg, [all …]
|
D | SkOpSegment.cpp | 48 SkOpAngle* SkOpSegment::activeAngle(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngle() 59 SkOpAngle* SkOpSegment::activeAngleInner(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngleInner() 100 SkOpAngle* SkOpSegment::activeAngleOther(SkOpSpanBase* start, SkOpSpanBase** startPtr, in activeAngleOther() 103 SkOpSegment* other = oPtT->segment(); 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() 152 bool SkOpSegment::activeWinding(SkOpSpanBase* start, SkOpSpanBase* end) { in activeWinding() 157 bool SkOpSegment::activeWinding(SkOpSpanBase* start, SkOpSpanBase* end, int* sumWinding) { in activeWinding() 166 bool SkOpSegment::addCurveTo(const SkOpSpanBase* start, const SkOpSpanBase* end, in addCurveTo() 197 const SkOpPtT* SkOpSegment::existing(double t, const SkOpSegment* opp) const { in existing() [all …]
|
D | SkOpSegment.h | 24 class SkOpSegment { 26 bool operator<(const SkOpSegment& rh) const { 44 SkOpSegment* addConic(SkPoint pts[3], SkScalar weight, SkOpContour* parent) { in addConic() 52 SkOpSegment* addCubic(SkPoint pts[4], SkOpContour* parent) { in addCubic() 71 SkOpSegment* addLine(SkPoint pts[2], SkOpContour* parent) { in addLine() 78 SkOpPtT* addMissing(double t, SkOpSegment* opp, bool* allExist); 87 SkOpSegment* addQuad(SkPoint pts[3], SkOpContour* parent) { in addQuad() 155 const SkOpSegment* debugSegment(int id) const; 213 const SkOpPtT* existing(double t, const SkOpSegment* opp) const; 214 SkOpSegment* findNextOp(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** nextStart, [all …]
|
D | SkOpSpan.h | 18 class SkOpSegment; variable 45 bool contains(const SkOpSegment*, const SkPoint& ) const; 46 bool contains(const SkOpSegment*, double t) const; 47 const SkOpPtT* contains(const SkOpSegment* ) const; 58 const SkOpPtT* debugContains(const SkOpSegment* check) const; 66 const SkOpSegment* debugSegment(int id) const; 83 const SkOpPtT* find(const SkOpSegment* ) const; 140 const SkOpSegment* segment() const; 141 SkOpSegment* segment(); 204 const SkOpPtT* contains(const SkOpSegment* ) const; [all …]
|
D | SkPathOpsDebug.h | 24 class SkOpSegment; variable 389 const SkOpSegment* AngleSegment(const SkOpAngle*, int id); 395 const SkOpSegment* ContourSegment(SkOpContour*, int id); 401 const SkOpSegment* CoincidenceSegment(SkOpCoincidence*, int id); 407 const SkOpSegment* PtTSegment(const SkOpPtT*, int id); 410 const SkOpAngle* SegmentAngle(const SkOpSegment*, int id); 411 SkOpContour* SegmentContour(SkOpSegment*, int id); 412 const SkOpPtT* SegmentPtT(const SkOpSegment*, int id); 413 const SkOpSegment* SegmentSegment(const SkOpSegment*, int id); 414 const SkOpSpanBase* SegmentSpan(const SkOpSegment*, int id); [all …]
|
D | SkOpCoincidence.cpp | 60 const SkOpSegment* segment = coinPtTStart()->segment(); in expand() 61 const SkOpSegment* oppSegment = oppPtTStart()->segment(); in expand() 164 const SkOpSegment* oppSeg = this->oppPtTStart()->segment(); in ordered() 197 const SkOpSegment* coinSeg = coinPtTStart->segment(); in extend() 198 const SkOpSegment* oppSeg = oppPtTStart->segment(); in extend() 284 const SkOpSegment* baseSeg = base->segment(); in addEndMovedSpans() 290 const SkOpSegment* testSeg = testPtT->segment(); in addEndMovedSpans() 318 SkOpSegment* writableSeg = const_cast<SkOpSegment*>(testSeg); in addEndMovedSpans() 328 SkOpSegment* coinSeg = base->segment(); in addEndMovedSpans() 329 SkOpSegment* oppSeg = oppStart->segment(); in addEndMovedSpans() [all …]
|
D | SkOpSpan.cpp | 42 bool SkOpPtT::contains(const SkOpSegment* segment, const SkPoint& pt) const { in contains() 54 bool SkOpPtT::contains(const SkOpSegment* segment, double t) const { in contains() 65 const SkOpPtT* SkOpPtT::contains(const SkOpSegment* check) const { in contains() 81 const SkOpPtT* SkOpPtT::find(const SkOpSegment* segment) const { in find() 114 const SkOpSegment* segment = this->segment(); in onEnd() 138 const SkOpSegment* SkOpPtT::segment() const { in segment() 142 SkOpSegment* SkOpPtT::segment() { in segment() 169 const SkOpSegment* segment = this->segment(); in collapsed() 204 const SkOpPtT* SkOpSpanBase::contains(const SkOpSegment* segment) const { in contains() 218 bool SkOpSpanBase::containsCoinEnd(const SkOpSegment* segment) const { in containsCoinEnd() [all …]
|
D | SkPathOpsDebug.cpp | 81 const SkOpSegment* fSegment; 82 const SkOpSegment* fOppSegment; 147 const SkOpSegment* seg, double t, SkPoint pt) { in record() 190 void record(GlitchType type, const SkOpSegment* seg, double startT, in record() 191 double endT, const SkOpSegment* oppSeg, double oppStartT, double oppEndT) { in record() 201 void record(GlitchType type, const SkOpSegment* seg, in record() 214 void record(GlitchType type, const SkOpSegment* seg) { in record() 747 const SkOpPtT* SkOpSegment::debugAddT(double t, SkPathOpsDebug::GlitchLog* log) const { in debugAddT() 779 void SkOpSegment::debugCheckAngleCoin() const { in debugCheckAngleCoin() 801 void SkOpSegment::debugCheckHealth(SkPathOpsDebug::GlitchLog* glitches) const { in debugCheckHealth() [all …]
|
D | SkOpAngle.h | 18 class SkOpSegment; variable 49 const SkOpSegment* debugSegment(int id) const; 60 void dumpTo(const SkOpSegment* fromSeg, const SkOpAngle* ) const; 77 SkOpSegment* segment() const;
|
D | SkPathOpsWinding.cpp | 90 SkOpSegment* segment = span->segment(); in makeTestBase() 114 SkOpSegment* testSegment = &fHead; in rayCheck() 120 void SkOpSegment::rayCheck(const SkOpRayHit& base, SkOpRayDir dir, SkOpRayHit** hits, in rayCheck() 190 SkOpSpan* SkOpSegment::windingSpanAtT(double tHit) { in windingSpanAtT() 278 SkOpSegment* hitSegment = span ? span->segment() : nullptr; in sortableTop() 304 SkOpSegment* hitSegment = span->segment(); in sortableTop() 330 int windSum = SkOpSegment::UseInnerWinding(lastWind, wind) ? wind : lastWind; in sortableTop() 344 int oppSum = SkOpSegment::UseInnerWinding(lastOpp, oppWind) ? oppWind : lastOpp; in sortableTop() 372 SkOpSpan* SkOpSegment::findSortableTop(SkOpContour* contourHead) { in findSortableTop() 393 SkOpSegment* testSegment = &fHead; in findSortableTop()
|
/external/skqp/tests/ |
D | PathOpsDebug.cpp | 231 const SkOpSegment* AngleSegment(const SkOpAngle* angle, int id) { in AngleSegment() 251 const SkOpSegment* ContourSegment(SkOpContour* contour, int id) { in ContourSegment() 271 const SkOpSegment* CoincidenceSegment(SkOpCoincidence* coin, int id) { in CoincidenceSegment() 291 const SkOpSegment* PtTSegment(const SkOpPtT* ptT, int id) { in PtTSegment() 299 const SkOpAngle* SegmentAngle(const SkOpSegment* span, int id) { in SegmentAngle() 303 SkOpContour* SegmentContour(SkOpSegment* span, int id) { in SegmentContour() 307 const SkOpPtT* SegmentPtT(const SkOpSegment* span, int id) { in SegmentPtT() 311 const SkOpSegment* SegmentSegment(const SkOpSegment* span, int id) { in SegmentSegment() 315 const SkOpSpanBase* SegmentSpan(const SkOpSegment* span, int id) { in SegmentSpan() 331 const SkOpSegment* SpanSegment(const SkOpSpanBase* span, int id) { in SpanSegment() [all …]
|
/external/skia/tests/ |
D | PathOpsDebug.cpp | 231 const SkOpSegment* AngleSegment(const SkOpAngle* angle, int id) { in AngleSegment() 251 const SkOpSegment* ContourSegment(SkOpContour* contour, int id) { in ContourSegment() 271 const SkOpSegment* CoincidenceSegment(SkOpCoincidence* coin, int id) { in CoincidenceSegment() 291 const SkOpSegment* PtTSegment(const SkOpPtT* ptT, int id) { in PtTSegment() 299 const SkOpAngle* SegmentAngle(const SkOpSegment* span, int id) { in SegmentAngle() 303 SkOpContour* SegmentContour(SkOpSegment* span, int id) { in SegmentContour() 307 const SkOpPtT* SegmentPtT(const SkOpSegment* span, int id) { in SegmentPtT() 311 const SkOpSegment* SegmentSegment(const SkOpSegment* span, int id) { in SegmentSegment() 315 const SkOpSpanBase* SegmentSpan(const SkOpSegment* span, int id) { in SegmentSpan() 331 const SkOpSegment* SpanSegment(const SkOpSpanBase* span, int id) { in SpanSegment() [all …]
|
D | PathOpsAngleTest.cpp | 222 static void DebugReset(SkOpSegment* segment) { in DebugReset() 263 SkOpSegment* first = contour.first(); in DEF_TEST() 265 SkOpSegment* next = first->next(); in DEF_TEST() 462 SkOpSegment* seg1 = contour.first(); in DEF_TEST() 464 SkOpSegment* seg2 = seg1->next(); in DEF_TEST() 466 SkOpSegment* seg3 = seg2->next(); in DEF_TEST() 481 void SkOpSegment::debugAddAngle(double startT, double endT) { in debugAddAngle() 520 SkOpSegment* first = contour.first(); in DEF_TEST() 522 SkOpSegment* next = first->next(); in DEF_TEST()
|