Lines Matching refs:runs
60 int16_t* runs = fRuns + offsetX; in add() local
66 SkAlphaRuns::Break(runs, alpha, x, 1); in add()
76 runs += x + 1; in add()
83 SkAlphaRuns::Break(runs, alpha, x, middleCount); in add()
85 runs += x; in add()
89 int n = runs[0]; in add()
92 runs += n; in add()
100 SkAlphaRuns::Break(runs, alpha, x, 1); in add()
121 static void Break(int16_t runs[], uint8_t alpha[], int x, int count) {
127 int16_t* next_runs = runs + x;
131 int n = runs[0];
136 runs[0] = SkToS16(x);
137 runs[x] = SkToS16(n - x);
140 runs += n;
145 runs = next_runs;
150 int n = runs[0];
155 runs[0] = SkToS16(x);
156 runs[x] = SkToS16(n - x);
163 runs += n;
174 static void BreakAt(int16_t runs[], uint8_t alpha[], int x) { in BreakAt() argument
176 int n = runs[0]; in BreakAt()
181 runs[0] = SkToS16(x); in BreakAt()
182 runs[x] = SkToS16(n - x); in BreakAt()
185 runs += n; in BreakAt()