Lines Matching refs:premul
17 template<ApplyPremul premul>
25 Sk4f c0 = c + DstTraits<premul>::pre_lerp_bias(bias0),
26 c1 = c + dc + DstTraits<premul>::pre_lerp_bias(bias1),
31 DstTraits<premul>::store4x(c0, c1, c2, c3, dst, bias0, bias1);
41 DstTraits<premul>::store(c0, dst++, bias0);
42 DstTraits<premul>::store(c1, dst++, bias1);
46 DstTraits<premul>::store(c0, dst, bias0);
172 // In premul interpolation mode, components are pre-scaled by 255 and the store
187 template<ApplyPremul premul>
197 this->shadeSpanInternal<premul, SkTileMode::kClamp >(x, y, dst, count, bias0, bias1);
200 this->shadeSpanInternal<premul, SkTileMode::kRepeat>(x, y, dst, count, bias0, bias1);
203 this->shadeSpanInternal<premul, SkTileMode::kMirror>(x, y, dst, count, bias0, bias1);
208 template<ApplyPremul premul, SkTileMode tileMode>
219 LinearIntervalProcessor<premul, tileMode> proc(fIntervals->begin(),
241 DstTraits<premul>::store(proc.currentColor(), dst, n);
243 ramp<premul>(proc.currentColor(), proc.currentColorGrad(), dst, n,
258 template<ApplyPremul premul, SkTileMode tileMode>
323 const Sk4f dc = DstTraits<premul>::load(fInterval->fCg);
324 fCc = DstTraits<premul>::load(fInterval->fCb) + dc * Sk4f(t);
343 const auto c = DstTraits<premul>::load(i->fCb)
344 + DstTraits<premul>::load(i->fCg) * (i->fT0 + i->fT1) * 0.5f;