• Home
  • Raw
  • Download

Lines Matching refs:winding

859 bool SkOpSegment::markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding,  in markAndChaseWinding()  argument
863 bool success = markWinding(spanStart, winding); in markAndChaseWinding()
872 (void) other->markWinding(spanStart, winding); in markAndChaseWinding()
881 int winding, int oppWinding, SkOpSpanBase** lastPtr) { in markAndChaseWinding() argument
884 bool success = markWinding(spanStart, winding, oppWinding); in markAndChaseWinding()
890 if (spanStart->windSum() != winding || spanStart->oppSum() != oppWinding) { in markAndChaseWinding()
896 SkASSERT(spanStart->oppSum() == winding); in markAndChaseWinding()
902 (void) other->markWinding(spanStart, winding, oppWinding); in markAndChaseWinding()
904 (void) other->markWinding(spanStart, oppWinding, winding); in markAndChaseWinding()
973 bool SkOpSegment::markWinding(SkOpSpan* span, int winding) { in markWinding() argument
975 SkASSERT(winding); in markWinding()
980 debugShowNewWinding(__FUNCTION__, span, winding); in markWinding()
982 span->setWindSum(winding); in markWinding()
987 bool SkOpSegment::markWinding(SkOpSpan* span, int winding, int oppWinding) { in markWinding() argument
989 SkASSERT(winding || oppWinding); in markWinding()
994 debugShowNewWinding(__FUNCTION__, span, winding, oppWinding); in markWinding()
996 span->setWindSum(winding); in markWinding()
1677 int winding = lesser->windSum(); in updateWinding() local
1678 if (winding == SK_MinS32) { in updateWinding()
1679 winding = lesser->computeWindSum(); in updateWinding()
1681 if (winding == SK_MinS32) { in updateWinding()
1682 return winding; in updateWinding()
1685 if (winding && UseInnerWinding(winding - spanWinding, winding) in updateWinding()
1686 && winding != SK_MaxS32) { in updateWinding()
1687 winding -= spanWinding; in updateWinding()
1689 return winding; in updateWinding()