Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSk4fLinearGradient.cpp298 void advance(SkScalar advX) { in advance() argument
299 SkASSERT(advX > 0); in advance()
302 if (advX >= fAdvX) { in advance()
303 advX = this->advance_interval(advX); in advance()
305 SkASSERT(advX < fAdvX); in advance()
307 fCc = fCc + fDcDx * Sk4f(advX); in advance()
308 fAdvX -= advX; in advance()
334 SkScalar advance_interval(SkScalar advX) { in advance_interval() argument
335 SkASSERT(advX >= fAdvX); in advance_interval()
338 advX -= fAdvX; in advance_interval()
[all …]
/external/skia/bench/
DPicturePlaybackBench.cpp116 SkScalar advX = 0; in recordCanvas() local
120 pos[i].set(x + advX, y); in recordCanvas()
122 pos[i].set(x + advX, y + i); in recordCanvas()
123 advX += adv[i]; in recordCanvas()