Searched refs:kInv255Float (Results 1 – 2 of 2) sorted by relevance
12 const float kInv255Float = 1.0f / 255; variable129 const float paintAlpha = rec.fPaint->getAlpha() * kInv255Float; in GradientShaderBase4fContext()131 ? Sk4f(paintAlpha * kInv255Float) in GradientShaderBase4fContext()132 : Sk4f(kInv255Float, kInv255Float, kInv255Float, paintAlpha * kInv255Float); in GradientShaderBase4fContext()
14 static const float kInv255Float = 1.0f / 255; variable155 const float paintAlpha = ctx.fPaint->getAlpha() * kInv255Float; in LinearGradientContext()