Home
last modified time | relevance | path

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

/external/skqp/src/shaders/gradients/
DSk4fLinearGradient.cpp315 void advance(SkScalar advX) { in advance() argument
316 SkASSERT(advX > 0); in advance()
319 if (advX >= fAdvX) { in advance()
320 advX = this->advance_interval(advX); in advance()
322 SkASSERT(advX < fAdvX); in advance()
324 fCc = fCc + fDcDx * Sk4f(advX); in advance()
325 fAdvX -= advX; in advance()
371 SkScalar advance_interval(SkScalar advX) { in advance_interval() argument
372 SkASSERT(advX >= fAdvX); in advance_interval()
375 advX -= fAdvX; in advance_interval()
[all …]
/external/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp318 void advance(SkScalar advX) { in advance() argument
319 SkASSERT(advX > 0); in advance()
322 if (advX >= fAdvX) { in advance()
323 advX = this->advance_interval(advX); in advance()
325 SkASSERT(advX < fAdvX); in advance()
327 fCc = fCc + fDcDx * Sk4f(advX); in advance()
328 fAdvX -= advX; in advance()
374 SkScalar advance_interval(SkScalar advX) { in advance_interval() argument
375 SkASSERT(advX >= fAdvX); in advance_interval()
378 advX -= fAdvX; in advance_interval()
[all …]
/external/skqp/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()
/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()