Lines Matching refs:premul
16 template<ApplyPremul premul>
24 Sk4f c0 = c + DstTraits<premul>::pre_lerp_bias(bias0), in ramp()
25 c1 = c + dc + DstTraits<premul>::pre_lerp_bias(bias1), in ramp()
30 DstTraits<premul>::store4x(c0, c1, c2, c3, dst, bias0, bias1); in ramp()
40 DstTraits<premul>::store(c0, dst++, bias0); in ramp()
41 DstTraits<premul>::store(c1, dst++, bias1); in ramp()
45 DstTraits<premul>::store(c0, dst, bias0); in ramp()
186 template<ApplyPremul premul>
196 this->shadeSpanInternal<premul, kClamp_TileMode >(x, y, dst, count, bias0, bias1); in shadePremulSpan()
199 this->shadeSpanInternal<premul, kRepeat_TileMode>(x, y, dst, count, bias0, bias1); in shadePremulSpan()
202 this->shadeSpanInternal<premul, kMirror_TileMode>(x, y, dst, count, bias0, bias1); in shadePremulSpan()
207 template<ApplyPremul premul, SkShader::TileMode tileMode>
218 LinearIntervalProcessor<premul, tileMode> proc(fIntervals->begin(), in shadeSpanInternal()
240 DstTraits<premul>::store(proc.currentColor(), dst, n); in shadeSpanInternal()
242 ramp<premul>(proc.currentColor(), proc.currentColorGrad(), dst, n, in shadeSpanInternal()
257 template<ApplyPremul premul, SkShader::TileMode tileMode>
322 const Sk4f dc = DstTraits<premul>::load(fInterval->fCg); in compute_interval_props()
323 fCc = DstTraits<premul>::load(fInterval->fCb) + dc * Sk4f(t); in compute_interval_props()
342 const auto c = DstTraits<premul>::load(i->fCb) in init_average_props()
343 + DstTraits<premul>::load(i->fCg) * (i->fT0 + i->fT1) * 0.5f; in init_average_props()