Lines Matching refs:premul
16 template<typename dstType, ApplyPremul premul>
24 Sk4f c0 = c + DstTraits<dstType, premul>::pre_lerp_bias(bias0), in ramp()
25 c1 = c + dc + DstTraits<dstType, premul>::pre_lerp_bias(bias1), in ramp()
30 DstTraits<dstType, premul>::store4x(c0, c1, c2, c3, dst, bias0, bias1); in ramp()
40 DstTraits<dstType, premul>::store(c0, dst++, bias0); in ramp()
41 DstTraits<dstType, premul>::store(c1, dst++, bias1); in ramp()
45 DstTraits<dstType, premul>::store(c0, dst, bias0); in ramp()
199 template<typename dstType, ApplyPremul premul>
209 this->shadeSpanInternal<dstType, premul, kClamp_TileMode >(x, y, dst, count, bias0, bias1); in shadePremulSpan()
212 this->shadeSpanInternal<dstType, premul, kRepeat_TileMode>(x, y, dst, count, bias0, bias1); in shadePremulSpan()
215 this->shadeSpanInternal<dstType, premul, kMirror_TileMode>(x, y, dst, count, bias0, bias1); in shadePremulSpan()
220 template<typename dstType, ApplyPremul premul, SkShader::TileMode tileMode>
231 LinearIntervalProcessor<dstType, premul, tileMode> proc(fIntervals->begin(), in shadeSpanInternal()
254 DstTraits<dstType, premul>::store(proc.currentColor(), dst, n); in shadeSpanInternal()
256 ramp<dstType, premul>(proc.currentColor(), proc.currentColorGrad(), dst, n, in shadeSpanInternal()
270 template<typename dstType, ApplyPremul premul, SkShader::TileMode tileMode>
335 const Sk4f dc = DstTraits<dstType, premul>::load(fInterval->fCg); in compute_interval_props()
336 fCc = DstTraits<dstType, premul>::load(fInterval->fCb) + dc * Sk4f(t); in compute_interval_props()
355 const auto c = DstTraits<dstType, premul>::load(i->fCb) in init_average_props()
356 + DstTraits<dstType, premul>::load(i->fCg) * (i->fT0 + i->fT1) * 0.5f; in init_average_props()