Home
last modified time | relevance | path

Searched refs:stopCount (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/shaders/gradients/
DSkGradientShader.cpp433 size_t stopCount = fColorCount; in onAppendStages() local
434 float gapCount = stopCount - 1; in onAppendStages()
437 for (size_t i = 0; i < stopCount - 1; i++) { in onAppendStages()
442 add_const_color(ctx, stopCount - 1, c_l); in onAppendStages()
444 ctx->stopCount = stopCount; in onAppendStages()
464 size_t stopCount = 0; in onAppendStages() local
467 add_const_color(ctx, stopCount++, c_l); in onAppendStages()
473 init_stop_pos(ctx, stopCount, t_l, t_r, c_l, c_r); in onAppendStages()
474 stopCount += 1; in onAppendStages()
480 ctx->ts[stopCount] = t_l; in onAppendStages()
[all …]
/external/skia/src/jumper/
DSkJumper.h105 size_t stopCount; member
DSkJumper_stages.cpp1150 if (c->stopCount <=8) { in gradient_lookup()
1181 auto idx = trunc_(t * (c->stopCount-1)); in STAGE()
1207 for (size_t i = 1; i < c->stopCount; i++) { in STAGE()