Searched refs:snapAlpha (Results 1 – 2 of 2) sorted by relevance
348 SkAlpha snapAlpha(SkAlpha alpha) { return alpha > 247 ? 0xFF : alpha < 8 ? 0x00 : alpha; } in snapAlpha() function in RunBasedAdditiveBlitter355 fRuns.fAlpha[x] = snapAlpha(fRuns.fAlpha[x]); in flush()
355 inline SkAlpha snapAlpha(SkAlpha alpha) { in snapAlpha() function in RunBasedAdditiveBlitter364 fRuns.fAlpha[x] = snapAlpha(fRuns.fAlpha[x]); in flush()