Home
last modified time | relevance | path

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

/external/skqp/src/utils/
DSkShadowTessellator.cpp605 int currPenumbra = minIndex; in stitchConcaveRings() local
620 while ((*penumbraIndices)[currPenumbra] != (*umbraIndices)[currUmbra]) { in stitchConcaveRings()
621 if ((*penumbraIndices)[currPenumbra] < (*umbraIndices)[currUmbra]) { in stitchConcaveRings()
622 (*penumbraIndices)[currPenumbra] += fPathPolygon.count(); in stitchConcaveRings()
623 maxPenumbraIndex = (*penumbraIndices)[currPenumbra]; in stitchConcaveRings()
624 currPenumbra = (currPenumbra + 1) % penumbraPolygon.count(); in stitchConcaveRings()
632 fPositions.push_back(penumbraPolygon[currPenumbra]); in stitchConcaveRings()
640 int nextPenumbra = (currPenumbra + 1) % penumbraPolygon.count(); in stitchConcaveRings()
660 (*penumbraIndices)[currPenumbra] += fPathPolygon.count(); in stitchConcaveRings()
661 currPenumbra = nextPenumbra; in stitchConcaveRings()
[all …]
/external/skia/src/utils/
DSkShadowTessellator.cpp605 int currPenumbra = minIndex; in stitchConcaveRings() local
620 while ((*penumbraIndices)[currPenumbra] != (*umbraIndices)[currUmbra]) { in stitchConcaveRings()
621 if ((*penumbraIndices)[currPenumbra] < (*umbraIndices)[currUmbra]) { in stitchConcaveRings()
622 (*penumbraIndices)[currPenumbra] += fPathPolygon.count(); in stitchConcaveRings()
623 maxPenumbraIndex = (*penumbraIndices)[currPenumbra]; in stitchConcaveRings()
624 currPenumbra = (currPenumbra + 1) % penumbraPolygon.count(); in stitchConcaveRings()
632 fPositions.push_back(penumbraPolygon[currPenumbra]); in stitchConcaveRings()
640 int nextPenumbra = (currPenumbra + 1) % penumbraPolygon.count(); in stitchConcaveRings()
660 (*penumbraIndices)[currPenumbra] += fPathPolygon.count(); in stitchConcaveRings()
661 currPenumbra = nextPenumbra; in stitchConcaveRings()
[all …]