Home
last modified time | relevance | path

Searched refs:contourList (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/pathops/
DSkPathOpsCommon.cpp63 SkOpSegment* FindUndone(SkOpContourHead* contourList, SkOpSpanBase** startPtr, in FindUndone() argument
66 SkOpContour* contour = contourList; in FindUndone()
145 void DebugShowActiveSpans(SkOpContourHead* contourList) { in DebugShowActiveSpans() argument
146 SkOpContour* contour = contourList; in DebugShowActiveSpans()
153 bool SortContourList(SkOpContourHead** contourList, bool evenOdd, bool oppEvenOdd) { in SortContourList() argument
155 SkOpContour* contour = *contourList; in SortContourList()
172 *contourList = contourHead; in SortContourList()
390 static void align(SkOpContourHead* contourList) { in align() argument
391 SkOpContour* contour = contourList; in align()
397 static void addAlignIntersections(SkOpContourHead* contourList, SkChunkAlloc* allocator) { in addAlignIntersections() argument
[all …]
DSkPathOpsSimplify.cpp13 static bool bridgeWinding(SkOpContourHead* contourList, SkPathWriter* simple, in bridgeWinding() argument
17 SkOpSpan* span = FindSortableTop(contourList); in bridgeWinding()
45 DebugShowActiveSpans(contourList); in bridgeWinding()
90 DebugShowActiveSpans(contourList); in bridgeWinding()
102 static bool bridgeXor(SkOpContourHead* contourList, SkPathWriter* simple, in bridgeXor() argument
109 while ((current = FindUndone(contourList, &start, &end))) { in bridgeXor()
113 DebugShowActiveSpans(contourList); in bridgeXor()
129 DebugShowActiveSpans(contourList); in bridgeXor()
160 DebugShowActiveSpans(contourList); in bridgeXor()
182 SkOpContourHead* contourList = static_cast<SkOpContourHead*>(&contour); in Simplify() local
[all …]
DSkPathOpsTightBounds.cpp13 SkOpContourHead* contourList = static_cast<SkOpContourHead*>(&contour); in TightBounds() local
14 SkOpGlobalState globalState(nullptr, contourList SkDEBUGPARAMS(nullptr)); in TightBounds()
20 if (!SortContourList(&contourList, false, false)) { in TightBounds()
24 SkOpContour* current = contourList; in TightBounds()
DSkPathOpsOp.cpp87 static bool bridgeOp(SkOpContourHead* contourList, const SkPathOp op, in bridgeOp() argument
91 SkOpSpan* span = FindSortableTop(contourList); in bridgeOp()
119 DebugShowActiveSpans(contourList); in bridgeOp()
164 DebugShowActiveSpans(contourList); in bridgeOp()
252 SkOpContourHead* contourList = static_cast<SkOpContourHead*>(&contour); in OpDebug() local
254 SkOpGlobalState globalState(&coincidence, contourList SkDEBUGPARAMS(testName)); in OpDebug()
289 contourList->dumpSegments("seg", op); in OpDebug()
293 if (!SortContourList(&contourList, xorMask == kEvenOdd_PathOpsMask, in OpDebug()
300 SkOpContour* current = contourList; in OpDebug()
310 if (!HandleCoincidence(contourList, &coincidence, &allocator)) { in OpDebug()
[all …]
DSkPathOpsDebug.h128 #define DEBUG_COINCIDENCE_HEALTH(contourList, id) \ argument
129 SkPathOpsDebug::CheckHealth(contourList, id)
131 #define DEBUG_COINCIDENCE_HEALTH(contourList, id) argument
175 static void CoincidentHealth(class SkOpContourHead* contourList, const char* id);
194 static void CheckHealth(class SkOpContourHead* contourList, const char* id);
DSkOpSegment.h49 SkOpContourHead* contourList, SkChunkAlloc* allocator);
51 void addAlignIntersections(SkOpContourHead* contourList, SkChunkAlloc* allocator) { in addAlignIntersections() argument
52 this->addAlignIntersection(*fHead.ptT(), fOriginal[0], contourList, allocator); in addAlignIntersections()
53 this->addAlignIntersection(*fTail.ptT(), fOriginal[1], contourList, allocator); in addAlignIntersections()
138 SkOpContourHead* contourList) const { in debugAddAlignIntersections() argument
139 this->debugAddAlignIntersection(id, glitches, *fHead.ptT(), fOriginal[0], contourList); in debugAddAlignIntersections()
140 this->debugAddAlignIntersection(id, glitches, *fTail.ptT(), fOriginal[1], contourList); in debugAddAlignIntersections()
DSkOpContour.h37 void addAlignIntersections(SkOpContourHead* contourList, SkChunkAlloc* allocator) { in addAlignIntersections() argument
41 segment->addAlignIntersections(contourList, allocator); in addAlignIntersections()
DSkPathOpsDebug.cpp167 void SkPathOpsDebug::CheckHealth(SkOpContourHead* contourList, const char* id) { in CheckHealth() argument
169 const SkOpContour* contour = contourList; in CheckHealth()
416 const SkOpPtT& endPtT, const SkPoint& oldPt, const SkOpContourHead* contourList) const { in debugAddAlignIntersection()
426 const SkOpContour* current = contourList; in debugAddAlignIntersection()
DSkOpSegment.cpp163 SkOpContourHead* contourList, SkChunkAlloc* allocator) { in addAlignIntersection() argument
173 SkOpContour* current = contourList; in addAlignIntersection()