Home
last modified time | relevance | path

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

/third_party/skia/src/shaders/gradients/
DSkGradientShader.cpp354 size_t stopCount = fColorCount; in onAppendStages() local
355 float gapCount = stopCount - 1; in onAppendStages()
358 for (size_t i = 0; i < stopCount - 1; i++) { in onAppendStages()
363 add_const_color(ctx, stopCount - 1, c_l); in onAppendStages()
365 ctx->stopCount = stopCount; in onAppendStages()
385 size_t stopCount = 0; in onAppendStages() local
388 add_const_color(ctx, stopCount++, c_l); in onAppendStages()
395 init_stop_pos(ctx, stopCount, t_l, t_r, c_l, c_r); in onAppendStages()
396 stopCount += 1; in onAppendStages()
402 ctx->ts[stopCount] = t_l; in onAppendStages()
[all …]
/third_party/skia/modules/skottie/src/layers/shapelayer/
DGradient.cpp30 const auto stopCount = ParseDefault<int>((*jstops)["p"], -1); in Make() local
31 if (stopCount < 0) in Make()
42 SkToSizeT(stopCount), in Make()
/third_party/skia/src/core/
DSkRasterPipeline.h166 size_t stopCount; member
/third_party/skia/src/opts/
DSkRasterPipeline_opts.h2429 if (c->stopCount <=8) { in gradient_lookup()
2459 auto idx = trunc_(t * (c->stopCount-1)); in STAGE()
2468 for (size_t i = 1; i < c->stopCount; i++) { in STAGE()
4019 if (c->stopCount <=8) {
4064 for (size_t i = 1; i < c->stopCount; i++) {
4073 auto idx = trunc_(t * (c->stopCount-1));