/external/skia/src/pathops/ |
SkPathOpsTightBounds.cpp | 14 SkOpGlobalState globalState(nullptr, contourList SkDEBUGPARAMS(nullptr)); 16 SkOpEdgeBuilder builder(path, &contour, &allocator, &globalState);
|
SkOpEdgeBuilder.h | 16 SkOpGlobalState* globalState) 18 , fGlobalState(globalState) 26 SkOpGlobalState* globalState) 28 , fGlobalState(globalState)
|
SkOpBuilder.cpp | 47 SkOpGlobalState globalState(nullptr, &contourHead SkDEBUGPARAMS(nullptr)); 48 SkOpEdgeBuilder builder(*path, &contourHead, &allocator, &globalState); 54 globalState.setPhase(SkOpGlobalState::kFixWinding); 61 topSegment->debugID(), globalState.nested(), topContour->isCcw()); 63 if ((globalState.nested() & 1) != SkToBool(topContour->isCcw())) { 68 globalState.clearNested();
|
SkOpContour.h | 132 return SkDEBUGRELEASE(this->globalState()->debugAngle(id), nullptr); 138 return SkDEBUGRELEASE(this->globalState()->debugContour(id), nullptr); 145 return SkDEBUGRELEASE(this->globalState()->debugPtT(id), nullptr); 149 return SkDEBUGRELEASE(this->globalState()->debugSegment(id), nullptr); 153 return SkDEBUGRELEASE(this->globalState()->debugSpan(id), nullptr); 156 SkOpGlobalState* globalState() const { 225 void init(SkOpGlobalState* globalState, bool operand, bool isXor) { 226 fState = globalState; 229 SkDEBUGCODE(fID = globalState->nextContourID());
|
SkOpSpan.cpp | 84 SkOpGlobalState* SkOpPtT::globalState() const { 85 return contour()->globalState(); 95 SkDEBUGCODE(fID = span->globalState()->nextPtTID()); 273 SkOpGlobalState* SkOpSpanBase::globalState() const { 274 return contour()->globalState(); 287 SkDEBUGCODE(fID = globalState()->nextSpanID()); 317 SkOpGlobalState* globals = this->globalState(); 346 SkOpCoincidence* coincidence = this->globalState()->coincidence(); 370 this->globalState()->setWindingFailed(); 380 this->globalState()->setWindingFailed() [all...] |
SkPathOpsCommon.cpp | 171 contour->globalState()->setContourHead(contourHead); 201 SkOpGlobalState globalState(nullptr, &contour SkDEBUGPARAMS(nullptr)); 208 SkOpEdgeBuilder builder(path, &contour, &allocator, &globalState); 454 SkOpGlobalState* globalState = contourList->globalState(); 471 globalState->setPhase(SkOpGlobalState::kIntersecting); 486 globalState->setPhase(SkOpGlobalState::kWalking); 491 if (!coincidence->addExpanded(allocator PATH_OPS_DEBUG_VALIDATE_PARAMS(globalState))) { 506 if (!coincidence->addExpanded(allocator PATH_OPS_DEBUG_VALIDATE_PARAMS(globalState))) { 527 if (globalState->angleCoincidence()) [all...] |
SkPathOpsSimplify.cpp | 183 SkOpGlobalState globalState(&coincidence, contourList SkDEBUGPARAMS(nullptr)); 187 SkOpEdgeBuilder builder(path, &contour, &allocator, &globalState); 207 globalState.setPhase(SkOpGlobalState::kWalking);
|
SkOpAngle.h | 74 SkOpGlobalState* globalState() const;
|
SkPathOpsOp.cpp | 254 SkOpGlobalState globalState(&coincidence, contourList SkDEBUGPARAMS(testName)); 279 SkOpEdgeBuilder builder(*minuend, &contour, &allocator, &globalState); 308 globalState.setPhase(SkOpGlobalState::kWalking); 335 debugWorstState.debugDoYourWorst(&globalState);
|
SkOpSpan.h | 86 SkOpGlobalState* globalState() const; 219 SkOpGlobalState* globalState() const;
|
SkPathOpsWinding.cpp | 345 if (this->globalState()->phase() == SkOpGlobalState::kFixWinding) { 356 this->globalState()->bumpNested();
|
SkOpAngle.cpp | 593 SkOpGlobalState* SkOpAngle::globalState() const { 594 return this->segment()->globalState(); 646 globalState()->setAngleCoincidence(); 837 SkDEBUGCODE(fID = start ? start->globalState()->nextAngleID() : -1); [all...] |
SkOpCoincidence.cpp | 71 PATH_OPS_DEBUG_VALIDATE_PARAMS(SkOpGlobalState* globalState)) { 73 globalState->setPhase(SkOpGlobalState::kIntersecting); 140 globalState->setPhase(SkOpGlobalState::kWalking);
|
SkOpSegment.h | 211 SkOpGlobalState* globalState() const;
|
SkOpSegment.cpp | 889 SkOpGlobalState* SkOpSegment::globalState() const { 890 return contour()->globalState(); 909 SkDEBUGCODE(fID = globalState()->nextSegmentID()); [all...] |
SkPathOpsDebug.cpp | 170 const SkOpCoincidence* coincidence = contour->globalState()->coincidence(); 572 debugAddAlignIntersections(id, glitches, this->globalState()->contourHead()); [all...] |
SkAddIntersections.cpp | 501 test->globalState()->debugAddLoopCount(&ts, wt, wn);
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
otBase.py | 35 class GlobalState(object): 39 globalState = GlobalState(tableType=self.tableTag, 41 reader = OTTableReader(data, globalState) 76 class GlobalState(object): 79 globalState = GlobalState(tableType=self.tableTag) 84 writer = OTTableWriter(globalState) 122 __slots__ = ('data', 'offset', 'pos', 'globalState', 'localState') 124 def __init__(self, data, globalState={}, localState=None, offset=0) [all...] |
/external/skia/tests/ |
PathOpsDebug.cpp | 319 SkOpContour* contour = this->globalState()->contourHead(); 326 SkOpContour* contour = this->globalState()->contourHead(); 333 SkOpContour* contour = this->globalState()->contourHead(); 340 SkOpContour* contour = this->globalState()->contourHead(); 347 SkOpContour* contour = this->globalState()->contourHead(); 354 SkOpContour* contour = this->globalState()->contourHead(); 361 SkOpContour* contour = this->globalState()->contourHead(); 368 SkOpContour* contour = this->globalState()->contourHead(); [all...] |