Lines Matching refs:bias1
18 const Sk4f& bias0, const Sk4f& bias1) { in ramp() argument
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()
41 DstTraits<premul>::store(c1, dst++, bias1); in ramp()
152 bias1 = 0; in shadeSpan() local
162 bias1 = dither_cell[rowIndex + 1]; in shadeSpan()
166 swap(bias0, bias1); in shadeSpan()
174 bias1 += 0.5f; in shadeSpan()
176 this->shadePremulSpan<ApplyPremul::False>(x, y, dst, count, bias0, bias1); in shadeSpan()
180 bias1 *= 1/255.0f; in shadeSpan()
182 this->shadePremulSpan<ApplyPremul::True >(x, y, dst, count, bias0, bias1); in shadeSpan()
189 float bias0, float bias1) const { in shadePremulSpan()
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()
210 float bias0, float bias1) const { in shadeSpanInternal()
225 bias4f1(bias1); in shadeSpanInternal()