diff options
author | Florin Malita <fmalita@chromium.org> | 2018-01-29 10:49:49 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-29 16:16:21 +0000 |
commit | cca86f386cfd050cd03a25b305fc6fda48a8d6cd (patch) | |
tree | ed86f775c14946e84eefbb8cfe248c12ed7136ce /experimental/skottie/SkottieAnimator.h | |
parent | a6717ce9fe02e1a251eaa39aa096dd90c6975f26 (diff) |
[skottie] Hierarchical animators
Instead of a flat animator space, introduce animator groups.
This allows us to encapsulate layer animators and only dispatch ticks
when their owning layer is active.
TBR=
Change-Id: I1fc8a55abf68a712b71969bb1a11275dbe54c236
Reviewed-on: https://skia-review.googlesource.com/101201
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'experimental/skottie/SkottieAnimator.h')
-rw-r--r-- | experimental/skottie/SkottieAnimator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/experimental/skottie/SkottieAnimator.h b/experimental/skottie/SkottieAnimator.h index c32b4f8207..77be06b809 100644 --- a/experimental/skottie/SkottieAnimator.h +++ b/experimental/skottie/SkottieAnimator.h @@ -20,7 +20,7 @@ namespace skottie { // it will either apply immediately or instantiate and attach a keyframe animator. template <typename T> bool BindProperty(const Json::Value&, - sksg::Scene::AnimatorList*, + sksg::AnimatorList*, std::function<void(const T&)>&&, const T* noop = nullptr); |