• Home
  • Raw
  • Download

Lines Matching full:runs

42                           const int16_t runs[]) {
67 int runSize = bounds.width() + 1; // +1 so we can set runs[bounds.width()] = 0 in blitFatAntiRect()
69 int16_t* runs = reinterpret_cast<int16_t*>(storage); in blitFatAntiRect() local
70 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect()
72 runs[0] = 1; in blitFatAntiRect()
73 runs[1] = bounds.width() - 2; in blitFatAntiRect()
74 runs[bounds.width() - 1] = 1; in blitFatAntiRect()
75 runs[bounds.width()] = 0; in blitFatAntiRect()
89 this->blitAntiH(bounds.fLeft, bounds.fTop, alphas, runs); in blitFatAntiRect()
100 this->blitAntiH(bounds.fLeft, bounds.fBottom - 1, alphas, runs); in blitFatAntiRect()
106 int runSize = clip.width() + 1; // +1 so we can set runs[clip.width()] = 0 in blitCoverageDeltas()
108 int16_t* runs = reinterpret_cast<int16_t*>(storage); in blitCoverageDeltas() local
109 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitCoverageDeltas()
110 runs[clip.width()] = 0; // we must set the last run to 0 so blitAntiH can stop there in blitCoverageDeltas()
201 runs[lastX - clip.fLeft] = delta.fX - lastX; // set the run length in blitCoverageDeltas()
211 runs[lastX - clip.fLeft] = clip.fRight - lastX; in blitCoverageDeltas()
213 this->blitAntiH(clip.fLeft, y, alphas, runs); // finally blit the current row in blitCoverageDeltas()
221 int16_t runs[2]; in blitV() local
222 runs[0] = 1; in blitV()
223 runs[1] = 0; in blitV()
226 this->blitAntiH(x, y++, &alpha, runs); in blitV()
364 int16_t* runs = runStorage.get(); in blitMask() local
367 sk_memset16((uint16_t*)runs, 1, width); in blitMask()
368 runs[width] = 0; in blitMask()
373 this->blitAntiH(clip.fLeft, y, aa, runs); in blitMask()
417 const int16_t runs[]) {} in blitAntiH() argument
433 static int compute_anti_width(const int16_t runs[]) { in compute_anti_width() argument
437 int count = runs[0]; in compute_anti_width()
444 runs += count; in compute_anti_width()
480 const int16_t runs[]) { in blitAntiH() argument
486 int x1 = left + compute_anti_width(runs); in blitAntiH()
495 SkAlphaRuns::BreakAt((int16_t*)runs, (uint8_t*)aa, dx); in blitAntiH()
496 runs += dx; in blitAntiH()
501 SkASSERT(x0 < x1 && runs[x1 - x0] == 0); in blitAntiH()
504 SkAlphaRuns::BreakAt((int16_t*)runs, (uint8_t*)aa, x1 - x0); in blitAntiH()
505 ((int16_t*)runs)[x1 - x0] = 0; in blitAntiH()
508 SkASSERT(x0 < x1 && runs[x1 - x0] == 0); in blitAntiH()
509 SkASSERT(compute_anti_width(runs) == x1 - x0); in blitAntiH()
511 fBlitter->blitAntiH(x0, y, aa, runs); in blitAntiH()
603 const int16_t runs[]) { in blitAntiH() argument
604 int width = compute_anti_width(runs); in blitAntiH()
615 SkAlphaRuns::Break((int16_t*)runs, (uint8_t*)aa, left - x, right - left); in blitAntiH()
620 ((uint8_t*)aa)[index] = 0; // skip runs after right in blitAntiH()
621 ((int16_t*)runs)[index] = SkToS16(left - prevRite); in blitAntiH()
628 ((int16_t*)runs)[prevRite - x] = 0; in blitAntiH()
631 int skip = runs[0]; in blitAntiH()
634 runs += skip; in blitAntiH()
637 fBlitter->blitAntiH(x, y, aa, runs); in blitAntiH()
921 void SkRectClipCheckBlitter::blitAntiH(int x, int y, const SkAlpha aa[], const int16_t runs[]) { in blitAntiH() argument
922 const int16_t* iter = runs; in blitAntiH()
925 int width = iter - runs; in blitAntiH()
927 fBlitter->blitAntiH(x, y, aa, runs); in blitAntiH()