Home
last modified time | relevance | path

Searched refs:lerpT (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/shaders/
DSkComposeShader.cpp21 float lerpT) { in MakeCompose() argument
22 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()
DSkComposeShader.h16 SkComposeShader(sk_sp<SkShader> dst, sk_sp<SkShader> src, SkBlendMode mode, float lerpT) in SkComposeShader() argument
19 , fLerpT(lerpT) in SkComposeShader()
22 SkASSERT(lerpT >= 0 && lerpT <= 1); in SkComposeShader()