/third_party/flutter/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 348 size_t stopCount = fColorCount; in onAppendStages() local 349 float gapCount = stopCount - 1; in onAppendStages() 352 for (size_t i = 0; i < stopCount - 1; i++) { in onAppendStages() 357 add_const_color(ctx, stopCount - 1, c_l); in onAppendStages() 359 ctx->stopCount = stopCount; in onAppendStages() 379 size_t stopCount = 0; in onAppendStages() local 382 add_const_color(ctx, stopCount++, c_l); in onAppendStages() 389 init_stop_pos(ctx, stopCount, t_l, t_r, c_l, c_r); in onAppendStages() 390 stopCount += 1; in onAppendStages() 396 ctx->ts[stopCount] = t_l; in onAppendStages() [all …]
|
/third_party/flutter/skia/modules/skottie/src/ |
D | SkottieAdapter.cpp | 255 GradientAdapter::GradientAdapter(sk_sp<sksg::Gradient> grad, size_t stopCount) in GradientAdapter() argument 257 , fStopCount(stopCount) {} in GradientAdapter() 286 LinearGradientAdapter::LinearGradientAdapter(sk_sp<sksg::LinearGradient> grad, size_t stopCount) in LinearGradientAdapter() argument 287 : INHERITED(std::move(grad), stopCount) {} in LinearGradientAdapter() 295 RadialGradientAdapter::RadialGradientAdapter(sk_sp<sksg::RadialGradient> grad, size_t stopCount) in RadialGradientAdapter() argument 296 : INHERITED(std::move(grad), stopCount) {} in RadialGradientAdapter()
|
D | SkottieAdapter.h | 225 GradientAdapter(sk_sp<sksg::Gradient>, size_t stopCount); 241 LinearGradientAdapter(sk_sp<sksg::LinearGradient>, size_t stopCount); 251 RadialGradientAdapter(sk_sp<sksg::RadialGradient>, size_t stopCount);
|
/third_party/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 …]
|
/third_party/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()
|
/third_party/flutter/skia/modules/skottie/src/layers/ |
D | ShapeLayer.cpp | 151 const auto stopCount = ParseDefault<int>((*stops)["p"], -1); in AttachGradient() local 152 if (stopCount < 0) in AttachGradient() 160 adapter = sk_make_sp<LinearGradientAdapter>(linear_node, stopCount); in AttachGradient() 164 adapter = sk_make_sp<RadialGradientAdapter>(radial_node, stopCount); in AttachGradient()
|
/third_party/flutter/skia/src/core/ |
D | SkRasterPipeline.h | 178 size_t stopCount; member
|
/third_party/skia/src/core/ |
D | SkRasterPipeline.h | 166 size_t stopCount; member
|
/third_party/flutter/skia/src/opts/ |
D | SkRasterPipeline_opts.h | 2301 if (c->stopCount <=8) { in gradient_lookup() 2331 auto idx = trunc_(t * (c->stopCount-1)); in STAGE() 2340 for (size_t i = 1; i < c->stopCount; i++) { in STAGE() 3810 if (c->stopCount <=8) { 3855 for (size_t i = 1; i < c->stopCount; i++) { 3864 auto idx = trunc_(t * (c->stopCount-1));
|
/third_party/skia/src/opts/ |
D | SkRasterPipeline_opts.h | 2429 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));
|