Go to file
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
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench auto-tune nanobench in all builds 2019-07-01 16:07:22 +00:00
bin Add bin/try-clients to trigger client tryjobs 2019-06-11 16:55:53 +00:00
dm Add GrProtected parameter to all createBackendTexture variants 2019-07-01 19:46:18 +00:00
docker fix Dockerfile? 2019-06-24 16:34:59 +00:00
docs/examples PDF example 2019-05-28 17:21:59 +00:00
example Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
experimental experimental/editor: app layer: setTitle 2019-06-26 16:58:20 +00:00
fuzz Make fuzzing use embedded test font 2019-06-03 16:29:21 +00:00
gm Use mixed samples internally for default coverage AA 2019-07-02 06:04:09 +00:00
gn Reland "Replace GrQuadList with variable-length quad buffer" 2019-06-27 14:58:09 +00:00
include Remove GrPixelConfig from SkSurfaceCharacterization 2019-07-02 21:20:39 +00:00
infra remove all Debug Perf jobs 2019-07-02 18:46:07 +00:00
modules [skottie] Clean up layer animator scoping 2019-07-02 23:24:06 +00:00
platform_tools SkQP: fix Filterable.filter 2019-06-25 13:50:39 +00:00
resources add misc. value programs to SkVMTest.expected 2019-07-02 23:13:06 +00:00
samplecode Make GrColorSpaceInfo store GrColorType. 2019-06-25 14:29:09 +00:00
site fix up relative links and spacing 2019-06-11 14:29:38 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src move Builder/Program dump() 2019-07-02 23:10:23 +00:00
tests add misc. value programs to SkVMTest.expected 2019-07-02 23:13:06 +00:00
third_party Roll skia/third_party/skcms 4f682a1d0b94..180042c54610 (1 commits) 2019-07-02 19:55:18 +00:00
tools move Builder/Program dump() 2019-07-02 23:10:23 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS third-party.gni: Search includes using -I. 2019-06-11 19:04:29 +00:00
BUILD.gn move Builder/Program dump() 2019-07-02 23:10:23 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2 f116aa9c158b..5faff91af499 (3 commits) 2019-07-02 04:59:19 +00:00
go.mod [go.mod] Remove unneeded broken dependency 2019-07-02 21:17:49 +00:00
go.sum Update Go deps 2019-07-01 05:25:20 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py add mtklein to api approvals 2019-04-02 15:16:56 +00:00
public.bzl [skottie] Cleanup: split off layers into own CUs 2019-07-01 18:29:22 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.