From cca86f386cfd050cd03a25b305fc6fda48a8d6cd Mon Sep 17 00:00:00 2001 From: Florin Malita Date: Mon, 29 Jan 2018 10:49:49 -0500 Subject: [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 Commit-Queue: Florin Malita --- samplecode/SampleSVGPong.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samplecode') diff --git a/samplecode/SampleSVGPong.cpp b/samplecode/SampleSVGPong.cpp index 6cde5b0d8a..993af38be8 100644 --- a/samplecode/SampleSVGPong.cpp +++ b/samplecode/SampleSVGPong.cpp @@ -145,7 +145,7 @@ protected: SkRect::MakeIWH(this->width(), this->height()), SkMatrix::kFill_ScaleToFit)); auto root = sksg::Transform::Make(std::move(group), fContentMatrix); - fScene = sksg::Scene::Make(std::move(root), sksg::Scene::AnimatorList()); + fScene = sksg::Scene::Make(std::move(root), sksg::AnimatorList()); // Off we go. this->updatePaddleStrategy(); -- cgit v1.2.3