Home
last modified time | relevance | path

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

/external/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp305 void advance(SkScalar advX) { in advance() argument
306 SkASSERT(advX > 0); in advance()
309 if (advX >= fAdvX) { in advance()
310 advX = this->advance_interval(advX); in advance()
312 SkASSERT(advX < fAdvX); in advance()
314 fCc = fCc + fDcDx * Sk4f(advX); in advance()
315 fAdvX -= advX; in advance()
361 SkScalar advance_interval(SkScalar advX) { in advance_interval() argument
362 SkASSERT(advX >= fAdvX); in advance_interval()
365 advX -= fAdvX; in advance_interval()
[all …]
/external/skqp/src/shaders/gradients/
DSk4fLinearGradient.cpp305 void advance(SkScalar advX) { in advance() argument
306 SkASSERT(advX > 0); in advance()
309 if (advX >= fAdvX) { in advance()
310 advX = this->advance_interval(advX); in advance()
312 SkASSERT(advX < fAdvX); in advance()
314 fCc = fCc + fDcDx * Sk4f(advX); in advance()
315 fAdvX -= advX; in advance()
361 SkScalar advance_interval(SkScalar advX) { in advance_interval() argument
362 SkASSERT(advX >= fAdvX); in advance_interval()
365 advX -= fAdvX; in advance_interval()
[all …]