Home | History | Annotate | Download | only in core

Lines Matching defs:runs

44     /// Blit a horizontal run of antialiased pixels; runs[] is a *sparse*
46 /// The runs[] and antialias[] work together to represent long runs of pixels with the same
47 /// alphas. The runs[] contains the number of pixels with the same alpha, and antialias[]
48 /// contain the coverage value for that number of pixels. The runs[] (and antialias[]) are
49 /// encoded in a clever way. The runs array is zero terminated, and has enough entries for
51 /// in the runs array contains the number of pixels (np) that have the same alpha value. The
52 /// next np value is found np entries away. For example, if runs[0] = 7, then the next valid
53 /// entry will by at runs[7]. The runs array and antialias[] are coupled by index. So, if the
54 /// np entry is at runs[45] = 12 then the alpha value can be found at antialias[45] = 0x88.
56 virtual void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) = 0;
87 int16_t runs[3];
90 runs[0] = 1;
91 runs[1] = 1;
92 runs[2] = 0;
95 this->blitAntiH(x, y, aa, runs);
100 int16_t runs[2];
103 runs[0] = 1;
104 runs[1] = 0;
106 this->blitAntiH(x, y, aa, runs);
107 // reset in case the clipping blitter modified runs
108 runs[0] = 1;
109 runs[1] = 0;
111 this->blitAntiH(x, y + 1, aa, runs);
174 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
195 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
229 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
261 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;