/external/skqp/src/pathops/ |
D | SkPathOpsTSect.cpp | 80 SkTSpan* opp = this->spanAtT(t, &priorSpan); in addForPerp() local 81 if (!opp) { in addForPerp() 82 opp = this->addFollowing(priorSpan); in addForPerp() 85 priorSpan->debugID() : -1, t, opp->debugID()); in addForPerp() 89 opp->dump(); SkDebugf("\n"); in addForPerp() 91 priorSpan->debugID() : -1, opp->debugID()); in addForPerp() 93 opp->addBounded(span, &fHeap); in addForPerp() 94 span->addBounded(opp, &fHeap); in addForPerp() 152 const SkTSpan* opp) const { in findOppSpan() 156 if (opp == test) { in findOppSpan() [all …]
|
D | SkPathOpsTSect.h | 131 SkTSpan* findOppSpan(const SkTSpan* opp) const; 165 bool onlyEndPointsInCommon(const SkTSpan* opp, bool* start, 185 bool removeBounded(const SkTSpan* opp); 215 int hullCheck(const SkTSpan* opp, bool* start, bool* oppStart); 316 int intersects(SkTSpan* span, SkTSect* opp, 318 bool isParallel(const SkDLine& thisLine, const SkTSect* opp) const; 319 int linesIntersect(SkTSpan* span, SkTSect* opp, 332 bool removeByPerpendicular(SkTSect* opp); 336 SkTSect* opp); 339 bool removeSpans(SkTSpan* span, SkTSect* opp); [all …]
|
D | SkOpSpan.h | 34 void addOpp(SkOpPtT* opp, SkOpPtT* oppPrev) { in addOpp() argument 36 SkASSERT(this != opp); in addOpp() 37 this->fNext = opp; in addOpp() 54 void debugAddOpp(const SkOpPtT* opp, const SkOpPtT* oppPrev) const; 63 const SkOpPtT* debugOppPrev(const SkOpPtT* opp) const; 104 SkOpPtT* oppPrev(const SkOpPtT* opp) const { in oppPrev() argument 106 SkOpPtT* oppPrev = opp->fNext; in oppPrev() 110 while (oppPrev->fNext != opp) { in oppPrev() 186 bool addOpp(SkOpSpanBase* opp); 229 void debugAddOpp(SkPathOpsDebug::GlitchLog* , const SkOpSpanBase* opp) const; [all …]
|
D | SkPathOpsQuad.cpp | 55 double opp = endPt[1]->fY - origY; in hullIntersects() local 56 double sign = (fPts[oddMan].fY - origY) * adj - (fPts[oddMan].fX - origX) * opp; in hullIntersects() 63 double test = (q2[n].fY - origY) * adj - (q2[n].fX - origX) * opp; in hullIntersects() 103 for (int opp = 1; opp < kPointCount; ++opp) { in otherPts() local 104 int end = (oddMan ^ opp) - oddMan; // choose a value not equal to oddMan in otherPts() 106 endPt[opp - 1] = &fPts[end]; in otherPts()
|
D | SkOpSpan.cpp | 152 bool SkOpSpanBase::addOpp(SkOpSpanBase* opp) { in addOpp() argument 153 SkOpPtT* oppPrev = this->ptT()->oppPrev(opp->ptT()); in addOpp() 157 FAIL_IF(!this->mergeMatches(opp)); in addOpp() 158 this->ptT()->addOpp(opp->ptT(), oppPrev); in addOpp() 307 bool SkOpSpanBase::mergeMatches(SkOpSpanBase* opp) { in mergeMatches() argument 326 SkOpPtT* inner = opp->ptT(); in mergeMatches()
|
D | SkOpSegment.cpp | 197 const SkOpPtT* SkOpSegment::existing(double t, const SkOpSegment* opp) const { in existing() 212 if (!opp) { in existing() 225 return opp && !test->contains(opp) ? nullptr : testPtT; in existing() 833 bool SkOpSegment::isClose(double t, const SkOpSegment* opp) const { in isClose() 838 (*CurveIntersectRay[opp->verb()])(opp->pts(), opp->weight(), perp, &i); in isClose() 1139 SkOpSegment* opp = ptT->segment(); in ClearVisited() local 1140 opp->resetVisited(); in ClearVisited() 1173 SkOpSegment* opp = ptT->span()->segment(); in missingCoincidence() local 1174 if (opp->done()) { in missingCoincidence() 1178 if (!opp->visited()) { in missingCoincidence() [all …]
|
D | SkPathOpsCurve.cpp | 13 double SkDCurve::nearPoint(SkPath::Verb verb, const SkDPoint& xy, const SkDPoint& opp) const { in nearPoint() 34 SkDLine perp = {{ xy, { xy.fX + opp.fY - xy.fY, xy.fY + xy.fX - opp.fX }}}; in nearPoint()
|
D | SkPathOpsDebug.cpp | 136 const SkCoincidentSpans* opp = NULL) { in record() 140 if (opp) { in record() 141 glitch->fOppSpan = opp->coinPtTStart(); in record() 142 glitch->fOppEndSpan = opp->coinPtTEnd(); in record() 844 const SkOpSegment* opp = ptT->segment(); in DebugClearVisited() local 845 opp->resetDebugVisited(); in DebugClearVisited() 876 const SkOpSegment* opp = ptT->span()->segment(); in debugMissingCoincidence() local 877 if (opp->done()) { in debugMissingCoincidence() 881 if (!opp->debugVisited()) { in debugMissingCoincidence() 893 …if (span && span->segment() != opp && span->containsCoincidence(opp)) { // debug has additional c… in debugMissingCoincidence() [all …]
|
D | SkOpSegment.h | 78 SkOpPtT* addMissing(double t, SkOpSegment* opp, bool* allExist); 186 double distSq(double t, const SkOpAngle* opp) const; 213 const SkOpPtT* existing(double t, const SkOpSegment* opp) const; 248 bool isClose(double t, const SkOpSegment* opp) const; 396 const SkOpSpanBase* spanBase, const SkOpSegment* opp) const;
|
D | SkOpCoincidence.h | 237 static bool Ordered(const SkOpSegment* coin, const SkOpSegment* opp); 264 bool contains(const SkOpSegment* seg, const SkOpSegment* opp, double oppT) const; 266 const SkOpSegment* opp, double oppT) const;
|
D | SkOpCoincidence.cpp | 167 const SkOpPtT* opp = next->contains(oppSeg); in ordered() local 168 if (!opp) { in ordered() 172 if ((oppLastT > opp->fT) != flipped) { in ordered() 176 oppLastT = opp->fT; in ordered() 934 bool SkOpCoincidence::contains(const SkOpSegment* seg, const SkOpSegment* opp, double oppT) const { in contains() argument 935 if (this->contains(fHead, seg, opp, oppT)) { in contains() 938 if (this->contains(fTop, seg, opp, oppT)) { in contains() 945 const SkOpSegment* opp, double oppT) const { in contains() argument 950 if (coin->coinPtTStart()->segment() == seg && coin->oppPtTStart()->segment() == opp in contains() 954 if (coin->oppPtTStart()->segment() == seg && coin->coinPtTStart()->segment() == opp in contains()
|
/external/skia/src/pathops/ |
D | SkPathOpsTSect.cpp | 81 SkTSpan* opp = this->spanAtT(t, &priorSpan); in addForPerp() local 82 if (!opp) { in addForPerp() 83 opp = this->addFollowing(priorSpan); in addForPerp() 86 priorSpan->debugID() : -1, t, opp->debugID()); in addForPerp() 90 opp->dump(); SkDebugf("\n"); in addForPerp() 92 priorSpan->debugID() : -1, opp->debugID()); in addForPerp() 94 opp->addBounded(span, &fHeap); in addForPerp() 95 span->addBounded(opp, &fHeap); in addForPerp() 153 const SkTSpan* opp) const { in findOppSpan() 157 if (opp == test) { in findOppSpan() [all …]
|
D | SkPathOpsTSect.h | 130 SkTSpan* findOppSpan(const SkTSpan* opp) const; 164 bool onlyEndPointsInCommon(const SkTSpan* opp, bool* start, 184 bool removeBounded(const SkTSpan* opp); 214 int hullCheck(const SkTSpan* opp, bool* start, bool* oppStart); 315 int intersects(SkTSpan* span, SkTSect* opp, 317 bool isParallel(const SkDLine& thisLine, const SkTSect* opp) const; 318 int linesIntersect(SkTSpan* span, SkTSect* opp, 331 bool removeByPerpendicular(SkTSect* opp); 335 SkTSect* opp); 338 bool removeSpans(SkTSpan* span, SkTSect* opp); [all …]
|
D | SkOpSpan.h | 34 void addOpp(SkOpPtT* opp, SkOpPtT* oppPrev) { in addOpp() argument 36 SkASSERT(this != opp); in addOpp() 37 this->fNext = opp; in addOpp() 54 void debugAddOpp(const SkOpPtT* opp, const SkOpPtT* oppPrev) const; 63 const SkOpPtT* debugOppPrev(const SkOpPtT* opp) const; 104 SkOpPtT* oppPrev(const SkOpPtT* opp) const { in oppPrev() argument 106 SkOpPtT* oppPrev = opp->fNext; in oppPrev() 110 while (oppPrev->fNext != opp) { in oppPrev() 186 bool addOpp(SkOpSpanBase* opp); 229 void debugAddOpp(SkPathOpsDebug::GlitchLog* , const SkOpSpanBase* opp) const; [all …]
|
D | SkPathOpsQuad.cpp | 55 double opp = endPt[1]->fY - origY; in hullIntersects() local 56 double sign = (fPts[oddMan].fY - origY) * adj - (fPts[oddMan].fX - origX) * opp; in hullIntersects() 63 double test = (q2[n].fY - origY) * adj - (q2[n].fX - origX) * opp; in hullIntersects() 103 for (int opp = 1; opp < kPointCount; ++opp) { in otherPts() local 104 int end = (oddMan ^ opp) - oddMan; // choose a value not equal to oddMan in otherPts() 106 endPt[opp - 1] = &fPts[end]; in otherPts()
|
D | SkOpSpan.cpp | 152 bool SkOpSpanBase::addOpp(SkOpSpanBase* opp) { in addOpp() argument 153 SkOpPtT* oppPrev = this->ptT()->oppPrev(opp->ptT()); in addOpp() 157 FAIL_IF(!this->mergeMatches(opp)); in addOpp() 158 this->ptT()->addOpp(opp->ptT(), oppPrev); in addOpp() 307 bool SkOpSpanBase::mergeMatches(SkOpSpanBase* opp) { in mergeMatches() argument 326 SkOpPtT* inner = opp->ptT(); in mergeMatches()
|
D | SkOpSegment.cpp | 197 const SkOpPtT* SkOpSegment::existing(double t, const SkOpSegment* opp) const { in existing() 212 if (!opp) { in existing() 225 return opp && !test->contains(opp) ? nullptr : testPtT; in existing() 833 bool SkOpSegment::isClose(double t, const SkOpSegment* opp) const { in isClose() 838 (*CurveIntersectRay[opp->verb()])(opp->pts(), opp->weight(), perp, &i); in isClose() 1139 SkOpSegment* opp = ptT->segment(); in ClearVisited() local 1140 opp->resetVisited(); in ClearVisited() 1173 SkOpSegment* opp = ptT->span()->segment(); in missingCoincidence() local 1174 if (opp->done()) { in missingCoincidence() 1178 if (!opp->visited()) { in missingCoincidence() [all …]
|
D | SkPathOpsCurve.cpp | 13 double SkDCurve::nearPoint(SkPath::Verb verb, const SkDPoint& xy, const SkDPoint& opp) const { in nearPoint() 34 SkDLine perp = {{ xy, { xy.fX + opp.fY - xy.fY, xy.fY + xy.fX - opp.fX }}}; in nearPoint()
|
D | SkPathOpsDebug.cpp | 136 const SkCoincidentSpans* opp = NULL) { in record() 140 if (opp) { in record() 141 glitch->fOppSpan = opp->coinPtTStart(); in record() 142 glitch->fOppEndSpan = opp->coinPtTEnd(); in record() 821 const SkOpSegment* opp = ptT->segment(); in DebugClearVisited() local 822 opp->resetDebugVisited(); in DebugClearVisited() 853 const SkOpSegment* opp = ptT->span()->segment(); in debugMissingCoincidence() local 854 if (opp->done()) { in debugMissingCoincidence() 858 if (!opp->debugVisited()) { in debugMissingCoincidence() 870 …if (span && span->segment() != opp && span->containsCoincidence(opp)) { // debug has additional c… in debugMissingCoincidence() [all …]
|
D | SkOpSegment.h | 78 SkOpPtT* addMissing(double t, SkOpSegment* opp, bool* allExist); 186 double distSq(double t, const SkOpAngle* opp) const; 213 const SkOpPtT* existing(double t, const SkOpSegment* opp) const; 248 bool isClose(double t, const SkOpSegment* opp) const; 396 const SkOpSpanBase* spanBase, const SkOpSegment* opp) const;
|
D | SkOpCoincidence.h | 237 static bool Ordered(const SkOpSegment* coin, const SkOpSegment* opp); 264 bool contains(const SkOpSegment* seg, const SkOpSegment* opp, double oppT) const; 266 const SkOpSegment* opp, double oppT) const;
|
/external/swiftshader/third_party/subzero/src/ |
D | IceConditionCodesX8664.h | 28 #define X(val, encode, opp, dump, emit) val = encode, argument
|
D | IceConditionCodesMIPS32.h | 32 #define X(tag, opp, emit) tag, argument
|
D | IceConditionCodesX8632.h | 32 #define X(val, encode, opp, dump, emit) val = encode, argument
|
D | IceConditionCodesARM32.h | 32 #define X(tag, encode, opp, emit) tag = encode, argument
|