Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSkGradientShader.cpp483 const SkUFixed bias3 = dither ? 0x4000 : 0; in Build32bitCache() local
512 cache[kCache32Count*3] = SkPackARGB32(0xFF, (r + bias3) >> 16, in Build32bitCache()
513 (g + bias3) >> 16, in Build32bitCache()
514 (b + bias3) >> 16); in Build32bitCache()
534 cache[kCache32Count*3] = SkPackARGB32((a + bias3) >> 16, in Build32bitCache()
535 (r + bias3) >> 16, in Build32bitCache()
536 (g + bias3) >> 16, in Build32bitCache()
537 (b + bias3) >> 16); in Build32bitCache()
558 cache[kCache32Count*3] = SkPremultiplyARGBInline((a + bias3) >> 16, in Build32bitCache()
559 (r + bias3) >> 16, in Build32bitCache()
[all …]