Home | History | Annotate | Download | only in gradients

Lines Matching refs:dither

321         U8CPU alpha, bool dither, const SkGradientShaderBase& shader)
323 , fCacheDither(dither)
347 uint16_t cache[], SkColor c0, SkColor c1, int count, bool dither) {
364 if (dither) {
411 int count, U8CPU paintAlpha, uint32_t gradFlags, bool dither) {
451 const SkUFixed bias0 = dither ? 0x2000 : 0x8000;
452 const SkUFixed bias1 = dither ? 0x8000 : 0;
453 const SkUFixed bias2 = dither ? 0xC000 : 0;
454 const SkUFixed bias3 = dither ? 0x4000 : 0;
462 * Our dither-cell (spatially) is
555 // double the count for dither entries
620 bool dither) const {
622 if (!fCache || fCache->getAlpha() != alpha || fCache->getDither() != dither) {
623 fCache.reset(new GradientShaderCache(alpha, dither, *this));