Lines Matching refs:dither
321 U8CPU alpha, bool dither, const SkGradientShaderBase& shader) in GradientShaderCache() argument
323 , fCacheDither(dither) in GradientShaderCache()
347 uint16_t cache[], SkColor c0, SkColor c1, int count, bool dither) { in Build16bitCache() argument
364 if (dither) { in Build16bitCache()
411 int count, U8CPU paintAlpha, uint32_t gradFlags, bool dither) { in Build32bitCache() argument
451 const SkUFixed bias0 = dither ? 0x2000 : 0x8000; in Build32bitCache()
452 const SkUFixed bias1 = dither ? 0x8000 : 0; in Build32bitCache()
453 const SkUFixed bias2 = dither ? 0xC000 : 0; in Build32bitCache()
454 const SkUFixed bias3 = dither ? 0x4000 : 0; in Build32bitCache()
620 bool dither) const { in refCache()
622 if (!fCache || fCache->getAlpha() != alpha || fCache->getDither() != dither) { in refCache()
623 fCache.reset(new GradientShaderCache(alpha, dither, *this)); in refCache()