Searched refs:stopCount (Results 1 – 10 of 10) sorted by relevance
/external/skqp/src/shaders/gradients/ |
D | SkGradientShader.cpp | 349 size_t stopCount = fColorCount; in onAppendStages() local 350 float gapCount = stopCount - 1; in onAppendStages() 353 for (size_t i = 0; i < stopCount - 1; i++) { in onAppendStages() 358 add_const_color(ctx, stopCount - 1, c_l); in onAppendStages() 360 ctx->stopCount = stopCount; in onAppendStages() 380 size_t stopCount = 0; in onAppendStages() local 383 add_const_color(ctx, stopCount++, c_l); in onAppendStages() 390 init_stop_pos(ctx, stopCount, t_l, t_r, c_l, c_r); in onAppendStages() 391 stopCount += 1; in onAppendStages() 397 ctx->ts[stopCount] = t_l; in onAppendStages() [all …]
|
/external/skqp/modules/skottie/src/ |
D | SkottieAdapter.cpp | 178 GradientAdapter::GradientAdapter(sk_sp<sksg::Gradient> grad, size_t stopCount) in GradientAdapter() argument 180 , fStopCount(stopCount) {} in GradientAdapter() 209 LinearGradientAdapter::LinearGradientAdapter(sk_sp<sksg::LinearGradient> grad, size_t stopCount) in LinearGradientAdapter() argument 210 : INHERITED(std::move(grad), stopCount) {} in LinearGradientAdapter() 218 RadialGradientAdapter::RadialGradientAdapter(sk_sp<sksg::RadialGradient> grad, size_t stopCount) in RadialGradientAdapter() argument 219 : INHERITED(std::move(grad), stopCount) {} in RadialGradientAdapter()
|
D | SkottieAdapter.h | 175 GradientAdapter(sk_sp<sksg::Gradient>, size_t stopCount); 191 LinearGradientAdapter(sk_sp<sksg::LinearGradient>, size_t stopCount); 201 RadialGradientAdapter(sk_sp<sksg::RadialGradient>, size_t stopCount);
|
D | SkottieShapeLayer.cpp | 154 const auto stopCount = ParseDefault<int>((*stops)["p"], -1); in AttachGradient() local 155 if (stopCount < 0) in AttachGradient() 163 adapter = sk_make_sp<LinearGradientAdapter>(linear_node, stopCount); in AttachGradient() 167 adapter = sk_make_sp<RadialGradientAdapter>(radial_node, stopCount); in AttachGradient()
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 354 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 …]
|
/external/skia/modules/skottie/src/layers/shapelayer/ |
D | Gradient.cpp | 30 const auto stopCount = ParseDefault<int>((*jstops)["p"], -1); in Make() local 31 if (stopCount < 0) in Make() 42 SkToSizeT(stopCount), in Make()
|
/external/skqp/src/core/ |
D | SkRasterPipeline.h | 146 size_t stopCount; member
|
/external/skia/src/core/ |
D | SkRasterPipeline.h | 166 size_t stopCount; member
|
/external/skqp/src/opts/ |
D | SkRasterPipeline_opts.h | 1921 if (c->stopCount <=8) { in gradient_lookup() 1951 auto idx = trunc_(t * (c->stopCount-1)); in STAGE() 1960 for (size_t i = 1; i < c->stopCount; i++) { in STAGE() 3166 if (c->stopCount <=8) { 3211 for (size_t i = 1; i < c->stopCount; i++) { 3220 auto idx = trunc_(t * (c->stopCount-1));
|
/external/skia/src/opts/ |
D | SkRasterPipeline_opts.h | 2402 if (c->stopCount <=8) { in gradient_lookup() 2432 auto idx = trunc_(t * (c->stopCount-1)); in STAGE() 2441 for (size_t i = 1; i < c->stopCount; i++) { in STAGE() 3904 if (c->stopCount <=8) { 3949 for (size_t i = 1; i < c->stopCount; i++) { 3958 auto idx = trunc_(t * (c->stopCount-1));
|