Searched refs:lerpT (Results 1 – 2 of 2) sorted by relevance
20 float lerpT) { in MakeCompose() argument21 if (!src || !dst || SkScalarIsNaN(lerpT)) { in MakeCompose()24 lerpT = SkScalarPin(lerpT, 0, 1); in MakeCompose()26 if (lerpT == 0) { in MakeCompose()28 } else if (lerpT == 1) { in MakeCompose()36 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()