Home
last modified time | relevance | path

Searched refs:windingNumber (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp831 int windingNumber = 0; // Winding number start from zero for each scanline in GrGenerateDistanceFieldFromPath() local
834 windingNumber += dataPtr[idx].fDeltaWindingScore; in GrGenerateDistanceFieldFromPath()
842 dfSign = windingNumber ? kInside : kOutside; in GrGenerateDistanceFieldFromPath()
844 dfSign = windingNumber ? kOutside : kInside; in GrGenerateDistanceFieldFromPath()
846 dfSign = (windingNumber % 2) ? kInside : kOutside; in GrGenerateDistanceFieldFromPath()
849 dfSign = (windingNumber % 2) ? kOutside : kInside; in GrGenerateDistanceFieldFromPath()
853 SkASSERT(((col != width - 1) || (windingNumber == 0)) && in GrGenerateDistanceFieldFromPath()
856 if (col == width - 1 && windingNumber != 0) { in GrGenerateDistanceFieldFromPath()
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp831 int windingNumber = 0; // Winding number start from zero for each scanline in GrGenerateDistanceFieldFromPath() local
834 windingNumber += dataPtr[idx].fDeltaWindingScore; in GrGenerateDistanceFieldFromPath()
842 dfSign = windingNumber ? kInside : kOutside; in GrGenerateDistanceFieldFromPath()
844 dfSign = windingNumber ? kOutside : kInside; in GrGenerateDistanceFieldFromPath()
846 dfSign = (windingNumber % 2) ? kInside : kOutside; in GrGenerateDistanceFieldFromPath()
849 dfSign = (windingNumber % 2) ? kOutside : kInside; in GrGenerateDistanceFieldFromPath()
853 SkASSERT(((col != width - 1) || (windingNumber == 0)) && in GrGenerateDistanceFieldFromPath()
856 if (col == width - 1 && windingNumber != 0) { in GrGenerateDistanceFieldFromPath()