skia2/modules/skottie
Florin Malita 60c84fdb18 [skottie] Clean up layer animator scoping
Most layer animators are scoped at the LayerController level - except for
animators related to layer transforms.

The reason for this exception is that dependent/child layers require up-to-date
transform chains even when the parent layer is inactive.

Currently, to escape LayerController scoping, layer transform animators
are stored directly in the parent (composition) scope.  This works fine
for the initial purpose, but discards layer->transform-animator ownership
info.

Upcoming features (motion blur) require knowledge of all animators associated
with a given layer, and the current scheme gets in the way.

To address this problem, update the layer controller logic to

  1) store all layer animators (including transform-related) in the controller
     scope
  2) always dispatch ticks to transform-related animators

No functional changes are expected.

TBR=
Change-Id: I60a443a51d11754dfbc953f28e57cb1c13c3d647
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/225195
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-07-02 23:24:06 +00:00
..
fuzz rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
gm IWYU for gms starting with 'a'. 2019-04-30 19:39:37 +00:00
include add motion blur params to skottie2movie 2019-06-17 23:13:16 +00:00
src [skottie] Clean up layer animator scoping 2019-07-02 23:24:06 +00:00
utils rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BUILD.gn Reland "SkParagraph" 2019-06-11 17:20:36 +00:00
skottie.gni [skottie] Cleanup: split off layers into own CUs 2019-07-01 18:29:22 +00:00