Lines Matching refs:runs
74 int16_t* runs = reinterpret_cast<int16_t*>(storage); in blitFatAntiRect() local
75 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect()
77 runs[0] = 1; in blitFatAntiRect()
78 runs[1] = bounds.width() - 2; in blitFatAntiRect()
79 runs[bounds.width() - 1] = 1; in blitFatAntiRect()
80 runs[bounds.width()] = 0; in blitFatAntiRect()
94 this->blitAntiH(bounds.fLeft, bounds.fTop, alphas, runs); in blitFatAntiRect()
105 this->blitAntiH(bounds.fLeft, bounds.fBottom - 1, alphas, runs); in blitFatAntiRect()
113 int16_t runs[2]; in blitV() local
114 runs[0] = 1; in blitV()
115 runs[1] = 0; in blitV()
118 this->blitAntiH(x, y++, &alpha, runs); in blitV()
256 int16_t* runs = runStorage.get(); in blitMask() local
259 sk_memset16((uint16_t*)runs, 1, width); in blitMask()
260 runs[width] = 0; in blitMask()
265 this->blitAntiH(clip.fLeft, y, aa, runs); in blitMask()
309 const int16_t runs[]) {} in blitAntiH() argument
325 static int compute_anti_width(const int16_t runs[]) { in compute_anti_width() argument
329 int count = runs[0]; in compute_anti_width()
336 runs += count; in compute_anti_width()
372 const int16_t runs[]) { in blitAntiH() argument
378 int x1 = left + compute_anti_width(runs); in blitAntiH()
387 SkAlphaRuns::BreakAt((int16_t*)runs, (uint8_t*)aa, dx); in blitAntiH()
388 runs += dx; in blitAntiH()
393 SkASSERT(x0 < x1 && runs[x1 - x0] == 0); in blitAntiH()
396 SkAlphaRuns::BreakAt((int16_t*)runs, (uint8_t*)aa, x1 - x0); in blitAntiH()
397 ((int16_t*)runs)[x1 - x0] = 0; in blitAntiH()
400 SkASSERT(x0 < x1 && runs[x1 - x0] == 0); in blitAntiH()
401 SkASSERT(compute_anti_width(runs) == x1 - x0); in blitAntiH()
403 fBlitter->blitAntiH(x0, y, aa, runs); in blitAntiH()
495 const int16_t runs[]) { in blitAntiH() argument
496 int width = compute_anti_width(runs); in blitAntiH()
507 SkAlphaRuns::Break((int16_t*)runs, (uint8_t*)aa, left - x, right - left); in blitAntiH()
513 ((int16_t*)runs)[index] = SkToS16(left - prevRite); in blitAntiH()
520 ((int16_t*)runs)[prevRite - x] = 0; in blitAntiH()
523 int skip = runs[0]; in blitAntiH()
526 runs += skip; in blitAntiH()
529 fBlitter->blitAntiH(x, y, aa, runs); in blitAntiH()
834 void SkRectClipCheckBlitter::blitAntiH(int x, int y, const SkAlpha aa[], const int16_t runs[]) { in blitAntiH() argument
835 const int16_t* iter = runs; in blitAntiH()
838 int width = iter - runs; in blitAntiH()
840 fBlitter->blitAntiH(x, y, aa, runs); in blitAntiH()