Home
last modified time | relevance | path

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

/external/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp267 : fAdvX(is_vertical ? SK_ScalarInfinity : (i->fT1 - fx) / dx) in LinearIntervalProcessor()
274 SkASSERT(fAdvX >= 0); in LinearIntervalProcessor()
296 SkASSERT(fAdvX >= 0); in currentAdvance()
297 SkASSERT(!std::isfinite(fAdvX) || fAdvX <= (fInterval->fT1 - fInterval->fT0) / fDx); in currentAdvance()
298 return fAdvX; in currentAdvance()
307 SkASSERT(fAdvX >= 0); in advance()
309 if (advX >= fAdvX) { in advance()
312 SkASSERT(advX < fAdvX); in advance()
315 fAdvX -= advX; in advance()
329 fAdvX = SK_ScalarInfinity; in init_average_props()
[all …]
/external/skqp/src/shaders/gradients/
DSk4fLinearGradient.cpp267 : fAdvX(is_vertical ? SK_ScalarInfinity : (i->fT1 - fx) / dx) in LinearIntervalProcessor()
274 SkASSERT(fAdvX >= 0); in LinearIntervalProcessor()
296 SkASSERT(fAdvX >= 0); in currentAdvance()
297 SkASSERT(!std::isfinite(fAdvX) || fAdvX <= (fInterval->fT1 - fInterval->fT0) / fDx); in currentAdvance()
298 return fAdvX; in currentAdvance()
307 SkASSERT(fAdvX >= 0); in advance()
309 if (advX >= fAdvX) { in advance()
312 SkASSERT(advX < fAdvX); in advance()
315 fAdvX -= advX; in advance()
329 fAdvX = SK_ScalarInfinity; in init_average_props()
[all …]