5f1108ce46
Unlike all other Skottie effects, motion blur requires sampling at multiple points on the timeline. To support this: 1) Introduce MotionBlurEffect - a custom SG render node which can drive the timeline of its subtree using an sksg::Animator. 2) Introduce MotionBlurController to swap for a regular LayerController when needed. MotionBlurController dispatches time ticks to MotionBlurEffect instead of directly to the layer animators. The actual motion blur impl is based on https://skia-review.googlesource.com/c/skia/+/221416. Motion blur requires Lottie files exported with this BodyMovin patch: https://github.com/bodymovin/bodymovin-extension/pull/15 Change-Id: I075e101ea91ec9aa300bac35ee810fd539f1aced Reviewed-on: https://skia-review.googlesource.com/c/skia/+/225416 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org> |
||
---|---|---|
.. | ||
images | ||
skottie_sample_1.json | ||
skottie_sample_2.json | ||
skottie_sample_multiframe.json | ||
skottie_sample_nested.json | ||
skottie_sample_search.json | ||
skottie_sample_webfont.json | ||
skottie-3d-rotation-order.json | ||
skottie-bezier-extranormal.json | ||
skottie-camera-parent-1.json | ||
skottie-camera-parent-2.json | ||
skottie-camera-parent-3.json | ||
skottie-camera-rotation.json | ||
skottie-effects-tranform.json | ||
skottie-gradient-ramp.json | ||
skottie-hidden-shapes-layers.json | ||
skottie-levels-effect.json | ||
skottie-line-height.json | ||
skottie-linear-wipe-effect.json | ||
skottie-mask-feather.json | ||
skottie-motion-blur-ph0.json | ||
skottie-motion-blur-ph360.json | ||
skottie-motion-blur-ph-360.json | ||
skottie-motiontile-effect-phase.json | ||
skottie-motiontile-effect.json | ||
skottie-radial-wipe-effect.json | ||
skottie-text-animator-1.json | ||
skottie-text-animator-2.json | ||
skottie-text-animator-3.json | ||
skottie-text-animator-4.json | ||
skottie-text-animator-5.json | ||
skottie-text-animator-6.json | ||
skottie-text-animator-7.json | ||
skottie-text-resize-to-fit.json | ||
skottie-text-valign-2.json | ||
skottie-text-valign-bottom.json | ||
skottie-text-valign.json | ||
skottie-transform-effect.json | ||
skottie-venetianblinds-effect.json |