60c84fdb18
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> |
||
---|---|---|
.. | ||
canvaskit | ||
particles | ||
pathkit | ||
skottie | ||
skparagraph | ||
sksg | ||
skshaper |