• Home
  • Raw
  • Download

Lines Matching full:runs

37     /// Blit a horizontal run of antialiased pixels; runs[] is a *sparse*
39 /// The runs[] and antialias[] work together to represent long runs of pixels with the same
40 /// alphas. The runs[] contains the number of pixels with the same alpha, and antialias[]
41 /// contain the coverage value for that number of pixels. The runs[] (and antialias[]) are
42 /// encoded in a clever way. The runs array is zero terminated, and has enough entries for
44 /// in the runs array contains the number of pixels (np) that have the same alpha value. The
45 /// next np value is found np entries away. For example, if runs[0] = 7, then the next valid
46 /// entry will by at runs[7]. The runs array and antialias[] are coupled by index. So, if the
47 /// np entry is at runs[45] = 12 then the alpha value can be found at antialias[45] = 0x88.
49 virtual void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) = 0;
77 int16_t runs[3]; in blitAntiH2() local
80 runs[0] = 1; in blitAntiH2()
81 runs[1] = 1; in blitAntiH2()
82 runs[2] = 0; in blitAntiH2()
85 this->blitAntiH(x, y, aa, runs); in blitAntiH2()
90 int16_t runs[2]; in blitAntiV2() local
93 runs[0] = 1; in blitAntiV2()
94 runs[1] = 0; in blitAntiV2()
96 this->blitAntiH(x, y, aa, runs); in blitAntiV2()
97 // reset in case the clipping blitter modified runs in blitAntiV2()
98 runs[0] = 1; in blitAntiV2()
99 runs[1] = 0; in blitAntiV2()
101 this->blitAntiH(x, y + 1, aa, runs); in blitAntiV2()
164 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
185 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
219 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
251 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;