Lines Matching full:runs
45 /// Blit a horizontal run of antialiased pixels; runs[] is a *sparse*
47 /// The runs[] and antialias[] work together to represent long runs of pixels with the same
48 /// alphas. The runs[] contains the number of pixels with the same alpha, and antialias[]
49 /// contain the coverage value for that number of pixels. The runs[] (and antialias[]) are
50 /// encoded in a clever way. The runs array is zero terminated, and has enough entries for
52 /// in the runs array contains the number of pixels (np) that have the same alpha value. The
53 /// next np value is found np entries away. For example, if runs[0] = 7, then the next valid
54 /// entry will by at runs[7]. The runs array and antialias[] are coupled by index. So, if the
55 /// np entry is at runs[45] = 12 then the alpha value can be found at antialias[45] = 0x88.
57 virtual void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) = 0;
88 int16_t runs[3]; in blitAntiH2() local
91 runs[0] = 1; in blitAntiH2()
92 runs[1] = 1; in blitAntiH2()
93 runs[2] = 0; in blitAntiH2()
96 this->blitAntiH(x, y, aa, runs); in blitAntiH2()
101 int16_t runs[2]; in blitAntiV2() local
104 runs[0] = 1; in blitAntiV2()
105 runs[1] = 0; in blitAntiV2()
107 this->blitAntiH(x, y, aa, runs); in blitAntiV2()
108 // reset in case the clipping blitter modified runs in blitAntiV2()
109 runs[0] = 1; in blitAntiV2()
110 runs[1] = 0; in blitAntiV2()
112 this->blitAntiH(x, y + 1, aa, runs); in blitAntiV2()
173 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
194 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
228 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
260 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
308 void blitAntiH(int x, int y, const SkAlpha alphas[], const int16_t runs[]) override { in blitAntiH() argument
309 SHARD(blitAntiH(x, y, alphas, runs)) in blitAntiH()