Home
last modified time | relevance | path

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

/external/skqp/experimental/skottie/
DSkottieProperties.cpp148 CompositeGradient::CompositeGradient(sk_sp<sksg::Gradient> grad, size_t stopCount) in CompositeGradient() argument
150 , fStopCount(stopCount) {} in CompositeGradient()
173 CompositeLinearGradient::CompositeLinearGradient(sk_sp<sksg::LinearGradient> grad, size_t stopCount) in CompositeLinearGradient() argument
174 : INHERITED(std::move(grad), stopCount) {} in CompositeLinearGradient()
182 CompositeRadialGradient::CompositeRadialGradient(sk_sp<sksg::RadialGradient> grad, size_t stopCount) in CompositeRadialGradient() argument
183 : INHERITED(std::move(grad), stopCount) {} in CompositeRadialGradient()
DSkottieProperties.h128 CompositeGradient(sk_sp<sksg::Gradient>, size_t stopCount);
146 CompositeLinearGradient(sk_sp<sksg::LinearGradient>, size_t stopCount);
156 CompositeRadialGradient(sk_sp<sksg::RadialGradient>, size_t stopCount);
DSkottie.cpp278 const auto stopCount = ParseDefault(stops["p"], -1); in AttachGradient() local
279 if (stopCount < 0) in AttachGradient()
287 composite = sk_make_sp<CompositeLinearGradient>(linear_node, stopCount); in AttachGradient()
291 composite = sk_make_sp<CompositeRadialGradient>(radial_node, stopCount); in AttachGradient()
/external/skia/experimental/skottie/
DSkottieProperties.cpp148 CompositeGradient::CompositeGradient(sk_sp<sksg::Gradient> grad, size_t stopCount) in CompositeGradient() argument
150 , fStopCount(stopCount) {} in CompositeGradient()
173 CompositeLinearGradient::CompositeLinearGradient(sk_sp<sksg::LinearGradient> grad, size_t stopCount) in CompositeLinearGradient() argument
174 : INHERITED(std::move(grad), stopCount) {} in CompositeLinearGradient()
182 CompositeRadialGradient::CompositeRadialGradient(sk_sp<sksg::RadialGradient> grad, size_t stopCount) in CompositeRadialGradient() argument
183 : INHERITED(std::move(grad), stopCount) {} in CompositeRadialGradient()
DSkottieProperties.h128 CompositeGradient(sk_sp<sksg::Gradient>, size_t stopCount);
146 CompositeLinearGradient(sk_sp<sksg::LinearGradient>, size_t stopCount);
156 CompositeRadialGradient(sk_sp<sksg::RadialGradient>, size_t stopCount);
DSkottie.cpp279 const auto stopCount = ParseDefault(stops["p"], -1); in AttachGradient() local
280 if (stopCount < 0) in AttachGradient()
288 composite = sk_make_sp<CompositeLinearGradient>(linear_node, stopCount); in AttachGradient()
292 composite = sk_make_sp<CompositeRadialGradient>(radial_node, stopCount); in AttachGradient()
/external/skia/src/shaders/gradients/
DSkGradientShader.cpp348 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 …]
/external/skqp/src/shaders/gradients/
DSkGradientShader.cpp340 size_t stopCount = fColorCount; in onAppendStages() local
341 float gapCount = stopCount - 1; in onAppendStages()
344 for (size_t i = 0; i < stopCount - 1; i++) { in onAppendStages()
349 add_const_color(ctx, stopCount - 1, c_l); in onAppendStages()
351 ctx->stopCount = stopCount; in onAppendStages()
371 size_t stopCount = 0; in onAppendStages() local
374 add_const_color(ctx, stopCount++, c_l); in onAppendStages()
381 init_stop_pos(ctx, stopCount, t_l, t_r, c_l, c_r); in onAppendStages()
382 stopCount += 1; in onAppendStages()
388 ctx->ts[stopCount] = t_l; in onAppendStages()
[all …]
/external/skqp/src/jumper/
DSkJumper.h97 size_t stopCount; member
DSkJumper_stages_lowp.cpp819 if (c->stopCount <=8) { in gradient_lookup()
862 for (size_t i = 1; i < c->stopCount; i++) { in STAGE_GP()
871 auto idx = trunc_(t * (c->stopCount-1)); in STAGE_GP()
DSkJumper_stages.cpp1894 if (c->stopCount <=8) { in gradient_lookup()
1924 auto idx = trunc_(t * (c->stopCount-1)); in STAGE()
1933 for (size_t i = 1; i < c->stopCount; i++) { in STAGE()
/external/skia/src/jumper/
DSkJumper.h103 size_t stopCount; member
DSkJumper_stages_lowp.cpp843 if (c->stopCount <=8) { in gradient_lookup()
886 for (size_t i = 1; i < c->stopCount; i++) { in STAGE_GP()
895 auto idx = trunc_(t * (c->stopCount-1)); in STAGE_GP()
DSkJumper_stages.cpp1924 if (c->stopCount <=8) { in gradient_lookup()
1954 auto idx = trunc_(t * (c->stopCount-1)); in STAGE()
1963 for (size_t i = 1; i < c->stopCount; i++) { in STAGE()