Lines Matching refs:deltas
105 void SkBlitter::blitCoverageDeltas(SkCoverageDeltaList* deltas, const SkIRect& clip, in blitCoverageDeltas() argument
113 bool canUseMask = !deltas->forceRLE() && in blitCoverageDeltas()
115 const SkAntiRect& antiRect = deltas->getAntiRect(); in blitCoverageDeltas()
118 int top = SkTMax(deltas->top(), clip.fTop); in blitCoverageDeltas()
119 int bottom = SkTMin(deltas->bottom(), clip.fBottom); in blitCoverageDeltas()
163 if (canUseMask && !deltas->sorted(y) && deltas->count(y) << 3 >= clip.width()) { in blitCoverageDeltas()
168 SkIRect rowIR = SkIRect::MakeLTRB(SkTMin(clip.fLeft, deltas->left()), y, in blitCoverageDeltas()
169 SkTMax(clip.fRight, deltas->right()), y + 1); in blitCoverageDeltas()
172 for(int i = 0; i < deltas->count(y); ++i) { in blitCoverageDeltas()
173 const SkCoverageDelta& delta = deltas->getDelta(y, i); in blitCoverageDeltas()
182 deltas->sort(y); in blitCoverageDeltas()
192 for(; i < deltas->count(y) && deltas->getDelta(y, i).fX < clip.fLeft; ++i) { in blitCoverageDeltas()
193 coverage += deltas->getDelta(y, i).fDelta; in blitCoverageDeltas()
195 for(; i < deltas->count(y) && deltas->getDelta(y, i).fX < clip.fRight; ++i) { in blitCoverageDeltas()
196 const SkCoverageDelta& delta = deltas->getDelta(y, i); in blitCoverageDeltas()