Home
last modified time | relevance | path

Searched refs:bias3 (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/shaders/gradients/
DSkGradientShader.cpp629 const SkUFixed bias3 = dither ? 0x4000 : 0; in Build32bitCache() local
658 cache[kCache32Count*3] = SkPackARGB32(0xFF, (r + bias3) >> 16, in Build32bitCache()
659 (g + bias3) >> 16, in Build32bitCache()
660 (b + bias3) >> 16); in Build32bitCache()
680 cache[kCache32Count*3] = SkPackARGB32((a + bias3) >> 16, in Build32bitCache()
681 (r + bias3) >> 16, in Build32bitCache()
682 (g + bias3) >> 16, in Build32bitCache()
683 (b + bias3) >> 16); in Build32bitCache()
704 cache[kCache32Count*3] = SkPremultiplyARGBInline((a + bias3) >> 16, in Build32bitCache()
705 (r + bias3) >> 16, in Build32bitCache()
[all …]