Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSkLinearGradient.cpp123 SkDEBUGCODE(rec[0].fPosScale = SK_FloatNaN;) // should never get used in LinearGradientContext()
128 rec[i].fPosScale = 1.0f / diff; in LinearGradientContext()
130 rec[i].fPosScale = 0; in LinearGradientContext()
140 rec[i].fPosScale = scale; in LinearGradientContext()
513 while (rec->fPos < tiledX || rec->fPosScale == 0) { in find_forward()
529 while (tiledX < rec->fPos || rec[1].fPosScale == 0) { in find_backward()
577 const float scale = rec[1].fPosScale; in lerp_color()
685 const float scale = r[1].fPosScale; in shade4_dx_clamp()
DSkLinearGradient.h47 float fPosScale; member