Home
last modified time | relevance | path

Searched refs:globalState (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/pathops/
DSkOpEdgeBuilder.h16 SkOpGlobalState* globalState) in SkOpEdgeBuilder() argument
18 , fGlobalState(globalState) in SkOpEdgeBuilder()
26 SkOpGlobalState* globalState) in SkOpEdgeBuilder() argument
28 , fGlobalState(globalState) in SkOpEdgeBuilder()
DSkOpSpan.cpp84 SkOpGlobalState* SkOpPtT::globalState() const { in globalState() function in SkOpPtT
85 return contour()->globalState(); in globalState()
95 SkDEBUGCODE(fID = span->globalState()->nextPtTID()); in init()
273 SkOpGlobalState* SkOpSpanBase::globalState() const { in globalState() function in SkOpSpanBase
274 return contour()->globalState(); in globalState()
287 SkDEBUGCODE(fID = globalState()->nextSpanID()); in initBase()
317 SkOpGlobalState* globals = this->globalState(); in computeWindSum()
346 SkOpCoincidence* coincidence = this->globalState()->coincidence(); in detach()
370 this->globalState()->setWindingFailed(); in setOppSum()
380 this->globalState()->setWindingFailed(); in setWindSum()
DSkOpBuilder.cpp47 SkOpGlobalState globalState(nullptr, &contourHead SkDEBUGPARAMS(nullptr)); in FixWinding() local
48 SkOpEdgeBuilder builder(*path, &contourHead, &allocator, &globalState); in FixWinding()
54 globalState.setPhase(SkOpGlobalState::kFixWinding); in FixWinding()
61 topSegment->debugID(), globalState.nested(), topContour->isCcw()); in FixWinding()
63 if ((globalState.nested() & 1) != SkToBool(topContour->isCcw())) { in FixWinding()
68 globalState.clearNested(); in FixWinding()
DSkOpContour.h132 return SkDEBUGRELEASE(this->globalState()->debugAngle(id), nullptr); in debugAngle()
138 return SkDEBUGRELEASE(this->globalState()->debugContour(id), nullptr); in debugContour()
145 return SkDEBUGRELEASE(this->globalState()->debugPtT(id), nullptr); in debugPtT()
149 return SkDEBUGRELEASE(this->globalState()->debugSegment(id), nullptr); in debugSegment()
153 return SkDEBUGRELEASE(this->globalState()->debugSpan(id), nullptr); in debugSpan()
156 SkOpGlobalState* globalState() const { in globalState() function
225 void init(SkOpGlobalState* globalState, bool operand, bool isXor) { in init() argument
226 fState = globalState; in init()
229 SkDEBUGCODE(fID = globalState->nextContourID()); in init()
DSkPathOpsCommon.cpp171 contour->globalState()->setContourHead(contourHead); in SortContourList()
201 SkOpGlobalState globalState(nullptr, &contour SkDEBUGPARAMS(nullptr)); in Assemble() local
208 SkOpEdgeBuilder builder(path, &contour, &allocator, &globalState); in Assemble()
454 SkOpGlobalState* globalState = contourList->globalState(); in HandleCoincidence() local
471 globalState->setPhase(SkOpGlobalState::kIntersecting); in HandleCoincidence()
486 globalState->setPhase(SkOpGlobalState::kWalking); in HandleCoincidence()
491 if (!coincidence->addExpanded(allocator PATH_OPS_DEBUG_VALIDATE_PARAMS(globalState))) { in HandleCoincidence()
506 if (!coincidence->addExpanded(allocator PATH_OPS_DEBUG_VALIDATE_PARAMS(globalState))) { in HandleCoincidence()
527 if (globalState->angleCoincidence()) { in HandleCoincidence()
DSkPathOpsTightBounds.cpp14 SkOpGlobalState globalState(nullptr, contourList SkDEBUGPARAMS(nullptr)); in TightBounds() local
16 SkOpEdgeBuilder builder(path, &contour, &allocator, &globalState); in TightBounds()
DSkPathOpsSimplify.cpp183 SkOpGlobalState globalState(&coincidence, contourList SkDEBUGPARAMS(nullptr)); in Simplify()
187 SkOpEdgeBuilder builder(path, &contour, &allocator, &globalState); in Simplify()
207 globalState.setPhase(SkOpGlobalState::kWalking); in Simplify()
DSkPathOpsOp.cpp254 SkOpGlobalState globalState(&coincidence, contourList SkDEBUGPARAMS(testName)); in OpDebug()
279 SkOpEdgeBuilder builder(*minuend, &contour, &allocator, &globalState); in OpDebug()
308 globalState.setPhase(SkOpGlobalState::kWalking); in OpDebug()
335 debugWorstState.debugDoYourWorst(&globalState); in OpDebug()
DSkOpAngle.h74 SkOpGlobalState* globalState() const;
DSkOpSpan.h86 SkOpGlobalState* globalState() const;
219 SkOpGlobalState* globalState() const;
DSkPathOpsWinding.cpp345 if (this->globalState()->phase() == SkOpGlobalState::kFixWinding) { in sortableTop()
356 this->globalState()->bumpNested(); in sortableTop()
DSkOpAngle.cpp593 SkOpGlobalState* SkOpAngle::globalState() const { in globalState() function in SkOpAngle
594 return this->segment()->globalState(); in globalState()
646 globalState()->setAngleCoincidence(); in insert()
837 SkDEBUGCODE(fID = start ? start->globalState()->nextAngleID() : -1); in set()
DSkOpCoincidence.cpp71 PATH_OPS_DEBUG_VALIDATE_PARAMS(SkOpGlobalState* globalState)) { in addExpanded() argument
73 globalState->setPhase(SkOpGlobalState::kIntersecting); in addExpanded()
140 globalState->setPhase(SkOpGlobalState::kWalking); in addExpanded()
DSkOpSegment.cpp889 SkOpGlobalState* SkOpSegment::globalState() const { in globalState() function in SkOpSegment
890 return contour()->globalState(); in globalState()
909 SkDEBUGCODE(fID = globalState()->nextSegmentID()); in init()
986 this->globalState()->setWindingFailed(); in markAndChaseWinding()
DSkOpSegment.h211 SkOpGlobalState* globalState() const;
DSkPathOpsDebug.cpp170 const SkOpCoincidence* coincidence = contour->globalState()->coincidence(); in CheckHealth()
572 debugAddAlignIntersections(id, glitches, this->globalState()->contourHead()); in debugCheckHealth()
1740 SkOpGlobalState::Phase phase = contour()->globalState()->phase(); in debugValidate()
DSkAddIntersections.cpp501 test->globalState()->debugAddLoopCount(&ts, wt, wn); in AddIntersectTs()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotBase.py39 globalState = GlobalState(tableType=self.tableTag,
41 reader = OTTableReader(data, globalState)
79 globalState = GlobalState(tableType=self.tableTag)
84 writer = OTTableWriter(globalState)
124 def __init__(self, data, globalState={}, localState=None, offset=0): argument
128 self.globalState = globalState
133 cachingStats = self.globalState.cachingStats
136 return self.__class__(self.data, self.globalState, self.localState, offset)
194 def __init__(self, globalState, localState=None): argument
197 self.globalState = globalState
[all …]
/external/skia/tests/
DPathOpsDebug.cpp319 SkOpContour* contour = this->globalState()->contourHead(); in dumpContours()
326 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursAll()
333 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursAngles()
340 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursPts()
347 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursPt()
354 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursSegment()
361 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursSpan()
368 SkOpContour* contour = this->globalState()->contourHead(); in dumpContoursSpans()