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

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

Completed in 45 milliseconds