Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSk4fGradientBase.cpp12 const float kInv255Float = 1.0f / 255; variable
129 const float paintAlpha = rec.fPaint->getAlpha() * kInv255Float; in GradientShaderBase4fContext()
131 ? Sk4f(paintAlpha * kInv255Float) in GradientShaderBase4fContext()
132 : Sk4f(kInv255Float, kInv255Float, kInv255Float, paintAlpha * kInv255Float); in GradientShaderBase4fContext()
DSkLinearGradient.cpp14 static const float kInv255Float = 1.0f / 255; variable
155 const float paintAlpha = ctx.fPaint->getAlpha() * kInv255Float; in LinearGradientContext()