Searched refs:lerpT (Results 1 – 2 of 2) sorted by relevance
21 float lerpT) { in MakeCompose() argument22 if (!src || !dst || SkScalarIsNaN(lerpT)) { in MakeCompose()25 lerpT = SkScalarPin(lerpT, 0, 1); in MakeCompose()27 if (lerpT == 0) { in MakeCompose()29 } else if (lerpT == 1) { in MakeCompose()37 return sk_sp<SkShader>(new SkComposeShader(std::move(dst), std::move(src), mode, lerpT)); in MakeCompose()
16 SkComposeShader(sk_sp<SkShader> dst, sk_sp<SkShader> src, SkBlendMode mode, float lerpT) in SkComposeShader() argument19 , fLerpT(lerpT) in SkComposeShader()22 SkASSERT(lerpT >= 0 && lerpT <= 1); in SkComposeShader()