Lines Matching refs:contourList

63 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
398 SkOpContour* contour = contourList; in addAlignIntersections()
400 contour->addAlignIntersections(contourList, allocator); in addAlignIntersections()
404 static void calcAngles(SkOpContourHead* contourList, SkChunkAlloc* allocator) { in calcAngles() argument
405 SkOpContour* contour = contourList; in calcAngles()
411 static void findCollapsed(SkOpContourHead* contourList) { in findCollapsed() argument
412 SkOpContour* contour = contourList; in findCollapsed()
418 static bool missingCoincidence(SkOpContourHead* contourList, in missingCoincidence() argument
420 SkOpContour* contour = contourList; in missingCoincidence()
428 static bool moveMultiples(SkOpContourHead* contourList) { in moveMultiples() argument
429 SkOpContour* contour = contourList; in moveMultiples()
438 static void moveNearby(SkOpContourHead* contourList) { in moveNearby() argument
439 SkOpContour* contour = contourList; in moveNearby()
445 static void sortAngles(SkOpContourHead* contourList) { in sortAngles() argument
446 SkOpContour* contour = contourList; in sortAngles()
452 bool HandleCoincidence(SkOpContourHead* contourList, SkOpCoincidence* coincidence, in HandleCoincidence() argument
454 SkOpGlobalState* globalState = contourList->globalState(); in HandleCoincidence()
456 DEBUG_COINCIDENCE_HEALTH(contourList, "start"); in HandleCoincidence()
457 if (!moveMultiples(contourList)) { in HandleCoincidence()
460 DEBUG_COINCIDENCE_HEALTH(contourList, "moveMultiples"); in HandleCoincidence()
461 findCollapsed(contourList); in HandleCoincidence()
462 DEBUG_COINCIDENCE_HEALTH(contourList, "findCollapsed"); in HandleCoincidence()
464 moveNearby(contourList); in HandleCoincidence()
465 DEBUG_COINCIDENCE_HEALTH(contourList, "moveNearby"); in HandleCoincidence()
466 align(contourList); // give all span members common values in HandleCoincidence()
467 DEBUG_COINCIDENCE_HEALTH(contourList, "align"); in HandleCoincidence()
469 DEBUG_COINCIDENCE_HEALTH(contourList, "fixAligned"); in HandleCoincidence()
474 addAlignIntersections(contourList, allocator); in HandleCoincidence()
475 DEBUG_COINCIDENCE_HEALTH(contourList, "addAlignIntersections"); in HandleCoincidence()
477 DEBUG_COINCIDENCE_HEALTH(contourList, "addMissing"); in HandleCoincidence()
478 moveNearby(contourList); in HandleCoincidence()
479 DEBUG_COINCIDENCE_HEALTH(contourList, "moveNearby2"); in HandleCoincidence()
480 align(contourList); // give all span members common values in HandleCoincidence()
481 DEBUG_COINCIDENCE_HEALTH(contourList, "align2"); in HandleCoincidence()
483 DEBUG_COINCIDENCE_HEALTH(contourList, "fixAligned2"); in HandleCoincidence()
490 DEBUG_COINCIDENCE_HEALTH(contourList, "expand1"); in HandleCoincidence()
495 DEBUG_COINCIDENCE_HEALTH(contourList, "expand2"); in HandleCoincidence()
500 DEBUG_COINCIDENCE_HEALTH(contourList, "mark1"); in HandleCoincidence()
502 if (missingCoincidence(contourList, coincidence, allocator)) { in HandleCoincidence()
503 DEBUG_COINCIDENCE_HEALTH(contourList, "missingCoincidence1"); in HandleCoincidence()
505 DEBUG_COINCIDENCE_HEALTH(contourList, "expand3"); in HandleCoincidence()
509 DEBUG_COINCIDENCE_HEALTH(contourList, "addExpanded2"); in HandleCoincidence()
512 DEBUG_COINCIDENCE_HEALTH(contourList, "missingCoincidence2"); in HandleCoincidence()
519 DEBUG_COINCIDENCE_HEALTH(contourList, "pairs->apply"); in HandleCoincidence()
523 DEBUG_COINCIDENCE_HEALTH(contourList, "pairs->findOverlaps"); in HandleCoincidence()
525 calcAngles(contourList, allocator); in HandleCoincidence()
526 sortAngles(contourList); in HandleCoincidence()
528 (void) missingCoincidence(contourList, coincidence, allocator); in HandleCoincidence()
535 DebugShowActiveSpans(contourList); in HandleCoincidence()