skia2/modules
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
..
canvaskit [canvaskit] Save a copy by using SkVertices::Builder 2019-06-03 18:41:00 +00:00
particles ByteCode: Improved ExternalValue interface 2019-06-25 02:57:24 +00:00
pathkit rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
skottie [skottie] Clean up layer animator scoping 2019-07-02 23:24:06 +00:00
skparagraph Add SkMakeSpan and helpful conversion 2019-07-02 21:49:09 +00:00
sksg [sksg] Clear the context mask filter when applied via layers 2019-06-20 17:39:14 +00:00
skshaper Reland "SkParagraph" 2019-06-11 17:20:36 +00:00