/third_party/skia/src/pathops/ |
H A D | SkOpContour.h | 47 SkOpSegment* result = fCount++ ? this->globalState()->allocator()->make<SkOpSegment>() in appendSegment() 87 return SkDEBUGRELEASE(this->globalState()->debugAngle(id), nullptr); in debugAngle() 91 return this->globalState()->coincidence(); in debugCoincidence() 99 return SkDEBUGRELEASE(this->globalState()->debugContour(id), nullptr); in debugContour() 109 return SkDEBUGRELEASE(this->globalState()->debugPtT(id), nullptr); in debugPtT() 113 return SkDEBUGRELEASE(this->globalState()->debugSegment(id), nullptr); in debugSegment() 126 return SkDEBUGRELEASE(this->globalState()->debugSpan(id), nullptr); in debugSpan() 129 SkOpGlobalState* globalState() const { in globalState() function in SkOpContour 189 void init(SkOpGlobalState* globalState, bool operand, bool isXor) { in init() argument 190 fState = globalState; in init() [all...] |
H A D | SkOpEdgeBuilder.h | 16 SkOpGlobalState* globalState) in SkOpEdgeBuilder() 17 : fGlobalState(globalState) in SkOpEdgeBuilder() 25 SkOpEdgeBuilder(const SkPath& path, SkOpContourHead* contours2, SkOpGlobalState* globalState) in SkOpEdgeBuilder() argument 26 : fGlobalState(globalState) in SkOpEdgeBuilder() 15 SkOpEdgeBuilder(const SkPathWriter& path, SkOpContourHead* contours2, SkOpGlobalState* globalState) SkOpEdgeBuilder() argument
|
H A D | SkOpBuilder.cpp | 57 SkOpGlobalState globalState(&contourHead, &allocator SkDEBUGPARAMS(false) in FixWinding() 59 SkOpEdgeBuilder builder(*path, &contourHead, &globalState); in FixWinding() 73 globalState.setPhase(SkOpPhase::kFixWinding); in FixWinding() 80 topSegment->debugID(), globalState.nested(), topContour->isCcw()); in FixWinding() 82 if ((globalState.nested() & 1) != SkToBool(topContour->isCcw())) { in FixWinding() 87 globalState.clearNested(); in FixWinding()
|
H A D | SkOpSpan.cpp | 94 SkOpGlobalState* SkOpPtT::globalState() const { in globalState() function in SkOpPtT 95 return contour()->globalState(); in globalState() 106 SkDEBUGCODE(fID = span->globalState()->nextPtTID()); in init() 233 SkOpGlobalState* SkOpSpanBase::globalState() const { in globalState() function in SkOpSpanBase 234 return contour()->globalState(); in globalState() 247 SkDEBUGCODE(fID = globalState()->nextSpanID()); in initBase() 283 SkOpCoincidence* coins = this->globalState()->coincidence(); in checkForCollapsedCoincidence() 373 SkOpGlobalState* globals = this->globalState(); in computeWindSum() 451 SkOpCoincidence* coincidence = this->globalState()->coincidence(); in release() 469 this->globalState() in setOppSum() [all...] |
H A D | SkPathOpsSimplify.cpp | 156 SkOpGlobalState globalState(contourList, &allocator in SimplifyDebug() 158 SkOpCoincidence coincidence(&globalState); in SimplifyDebug() 170 SkOpEdgeBuilder builder(path, contourList, &globalState); in SimplifyDebug() 190 globalState.setPhase(SkOpPhase::kWalking); in SimplifyDebug() 194 globalState.debugAddToGlobalCoinDicts(); in SimplifyDebug()
|
H A D | SkPathOpsCommon.cpp | 172 contour->globalState()->setContourHead(contourHead); in SortContourList() 234 SkOpGlobalState* globalState = contourList->globalState(); in HandleCoincidence() local 264 SkASSERT(globalState->debugSkipAssert()); in HandleCoincidence() 303 SkOpCoincidence overlaps(globalState); in HandleCoincidence() 317 SkASSERT(globalState->debugSkipAssert()); in HandleCoincidence()
|
H A D | SkPathOpsOp.cpp | 54 SkASSERT(segment->globalState()->debugSkipAssert()); in findChaseOp() 60 SkASSERT(segment->globalState()->debugSkipAssert()); in findChaseOp() 292 SkOpGlobalState globalState(contourList, &allocator in OpDebug() 294 SkOpCoincidence coincidence(&globalState); in OpDebug() 306 SkOpEdgeBuilder builder(*minuend, contourList, &globalState); in OpDebug() 335 globalState.setPhase(SkOpPhase::kWalking); in OpDebug() 339 globalState.debugAddToGlobalCoinDicts(); in OpDebug() 364 debugWorstState.debugDoYourWorst(&globalState); in OpDebug()
|
H A D | SkOpCoincidence.h | 60 SkDEBUGCODE(SkOpGlobalState* globalState() { return fGlobalState; }) in globalState() function in SkCoincidentSpans 62 void init(SkDEBUGCODE(SkOpGlobalState* globalState)) { in SkDEBUGCODE() argument 64 SkDEBUGCODE(fGlobalState = globalState); in SkDEBUGCODE() 136 SkOpCoincidence(SkOpGlobalState* globalState) in SkOpCoincidence() argument 139 , fGlobalState(globalState) in SkOpCoincidence() 145 globalState->setCoincidence(this); in SkOpCoincidence() 218 SkOpGlobalState* globalState() { in globalState() function in SkOpCoincidence 222 const SkOpGlobalState* globalState() const { in globalState() function in SkOpCoincidence
|
H A D | SkOpSegment.h | 63 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); in addEndSpan() 81 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); in addStartSpan() 221 SkOpGlobalState* globalState() const; 234 SkOpGlobalState* globalState = this->globalState(); in insert() local 235 globalState->setAllocatedOpSpan(); in insert() 236 SkOpSpan* result = globalState->allocator()->make<SkOpSpan>(); in insert()
|
H A D | SkPathOpsTypes.h | 221 #define SkOPASSERT(cond) SkASSERT((this->globalState() && \ 222 (this->globalState()->debugCheckHealth() || \ 223 this->globalState()->debugSkipAssert())) || (cond)) 225 #define SkOPASSERT(cond) SkASSERT((this->globalState() && \ 226 this->globalState()->debugSkipAssert()) || (cond)) 228 #define SkOPOBJASSERT(obj, cond) SkASSERT((obj->globalState() && \ 229 obj->globalState()->debugSkipAssert()) || (cond))
|
H A D | SkPathOpsConic.h | 43 SkOpGlobalState* globalState() const { return fPts.globalState(); } in globalState() function 159 SkOpGlobalState* globalState() const override { return fConic.globalState(); }
|
H A D | SkPathOpsTightBounds.cpp | 50 SkOpGlobalState globalState(contourList, &allocator SkDEBUGPARAMS(false) in TightBounds() 53 SkOpEdgeBuilder builder(path, contourList, &globalState); in TightBounds()
|
H A D | SkPathOpsQuad.h | 72 SkOpGlobalState* globalState() const { return fDebugGlobalState; } in globalState() function 150 SkOpGlobalState* globalState() const override { return fQuad.globalState(); }
|
H A D | SkOpContour.cpp | 59 SkArenaAlloc* allocator = fContour->globalState()->allocator(); in addCurve() 103 SkArenaAlloc* allocator = fContour->globalState()->allocator(); in flush()
|
H A D | SkAddIntersections.cpp | 284 SkIntersections ts { SkDEBUGCODE(test->globalState()) }; in AddIntersectTs() 456 SkDEBUGPARAMS(ts.globalState())), in AddIntersectTs() 458 SkDEBUGPARAMS(ts.globalState()))); in AddIntersectTs() 487 SkDEBUGPARAMS(ts.globalState())), in AddIntersectTs() 489 SkDEBUGPARAMS(ts.globalState()))); in AddIntersectTs() 506 test->globalState()->debugAddLoopCount(&ts, wt, wn); in AddIntersectTs() 560 SkASSERT(coincidence->globalState()->debugSkipAssert() in AddIntersectTs()
|
H A D | SkPathOpsTSect.cpp | 17 SkIntersections i SkDEBUGCODE((c1.globalState())); in setPerp() 58 SkDEBUGCODE(result->debugSetGlobalState(this->globalState())); in addFollowing() 877 if (!this->globalState() || !this->globalState()->debugSkipAssert()) { in extractCoincident() 1826 SkDEBUGCODE(half1->debugSetGlobalState(sect1->globalState())); in BinarySearch() 1846 SkDEBUGCODE(half2->debugSetGlobalState(sect2->globalState())); in BinarySearch() 2087 SkTSect sect1(quad1 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in intersect() 2088 SkTSect sect2(quad2 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(2)); in intersect() 2096 SkTSect sect1(conic SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in intersect() 2097 SkTSect sect2(quad SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAM in intersect() [all...] |
H A D | SkPathOpsTSect.h | 138 SkDEBUGCODE(SkOpGlobalState* globalState() const { return fDebugGlobalState; }) in globalState() function in SkTSpan 251 SkDEBUGCODE(SkOpGlobalState* globalState() { return fDebugGlobalState; }) in globalState() function in SkTSect 284 SkDEBUGCODE(result->debugSetGlobalState(this->globalState())); in addSplitAt()
|
H A D | SkPathOpsCubic.h | 76 SkOpGlobalState* globalState() const { return fDebugGlobalState; } in globalState() function 207 SkOpGlobalState* globalState() const override { return fCubic.globalState(); }
|
H A D | SkPathOpsDebug.h | 192 this->globalState()->debugSetPhase(__func__, lineNo, phase, iteration) 194 obj->globalState()->debugSetPhase(__func__, lineNo, phase, iteration) 213 this->globalState()->debugSetPhase(phase) 215 obj->globalState()->debugSetPhase(phase)
|
H A D | SkPathOpsTCurve.h | 44 virtual SkOpGlobalState* globalState() const = 0;
|
H A D | SkOpSegment.cpp | 233 this->globalState()->resetAllocatedOpSpan(); in addExpanded() 236 *startOver |= this->globalState()->allocatedOpSpan(); in addExpanded() 295 SkOpAngle* priorAngle = this->globalState()->allocator()->make<SkOpAngle>(); in calcAngles() 303 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); in calcAngles() 322 this->globalState()->coincidence()->release(this); in clearAll() 812 SkOpGlobalState* SkOpSegment::globalState() const { in globalState() function in SkOpSegment 813 return contour()->globalState(); in globalState() 830 SkDEBUGCODE(fID = globalState()->nextSegmentID()); in init() 932 this->globalState()->setWindingFailed(); in markAndChaseWinding() 1229 SkOpCoincidence* coincidences = this->globalState() in missingCoincidence() [all...] |
H A D | SkIntersections.h | 18 SkIntersections(SkDEBUGCODE(SkOpGlobalState* globalState = nullptr)) 21 SkDEBUGPARAMS(fDebugGlobalState(globalState)) 107 SkOpGlobalState* globalState() const { return fDebugGlobalState; } in globalState() function in SkIntersections
|
H A D | SkOpAngle.h | 108 SkOpGlobalState* globalState() const;
|
H A D | SkPathOpsDebug.cpp | 351 contourList->globalState()->debugSetCheckHealth(true); in CheckHealth() 356 const SkOpCoincidence* coincidence = contour->globalState()->coincidence(); in CheckHealth() 375 SkDebugf(" %s\n", contourList->globalState()->debugCoinDictEntry().fFunctionName); in CheckHealth() 426 contourList->globalState()->debugSetCheckHealth(false); in CheckHealth() 738 this->globalState()->setAllocatedOpSpan(); in debugAddT() 790 this->globalState()->coincidence()->debugRelease(glitches, this); in debugClearAll() 909 const SkOpCoincidence* coincidence = this->globalState()->coincidence(); in debugMissingCoincidence() 1321 if (this->globalState()->debugCheckHealth()) { in debugValidate() 2366 if (this->globalState()->debugCheckHealth()) { in debugValidate() 2413 const SkOpCoincidence* coins = this->globalState() in debugCheckForCollapsedCoincidence() [all...] |
/third_party/skia/tests/ |
H A D | PathOpsDebug.cpp | 360 SkOpContour* contour = this->globalState()->contourHead(); in dumpContours() 367 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursAll() 374 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursAngles() 381 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursPts() 388 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursPt() 395 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursSegment() 402 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursSpan() 409 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursSpans()
|