Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSkGradientShader.cpp454 const SkUFixed bias3 = dither ? 0x4000 : 0; in Build32bitCache() local
483 cache[kCache32Count*3] = SkPackARGB32(0xFF, (r + bias3) >> 16, in Build32bitCache()
484 (g + bias3) >> 16, in Build32bitCache()
485 (b + bias3) >> 16); in Build32bitCache()
505 cache[kCache32Count*3] = SkPackARGB32((a + bias3) >> 16, in Build32bitCache()
506 (r + bias3) >> 16, in Build32bitCache()
507 (g + bias3) >> 16, in Build32bitCache()
508 (b + bias3) >> 16); in Build32bitCache()
529 cache[kCache32Count*3] = SkPremultiplyARGBInline((a + bias3) >> 16, in Build32bitCache()
530 (r + bias3) >> 16, in Build32bitCache()
[all …]