skia2/modules/skottie
Florin Malita 46a331b93f [skottie] Cascading track matte support
Currently, we treat track matte source layers (tagged with td:1) as single-shot mask triggers:
we apply once to the following layer, then move on.

But track mattes can cascade: a layer with a matte can itself be applied as a track matte for the
following layer.

Also, for matte/masking purposes, only the layer content is being considered (ignoring blend mode
and any masks applied to the matte itself).

To support this, refactor the layer attachment code:

  - instead of tracking the presence of a single-shot matte source, always track
    previous layer content trees
  - instead of triggering matte attachment in the presence of a matte source, trigger based on
    the matte *target* property (tt: X)
  - log errors on unknown matte modes

Change-Id: I6c71d4007e1e27d3f3a139344bbf367d7bc6e29d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259820
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-12-12 21:42:11 +00:00
..
fuzz rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
gm [skottie] Explicit seek(0) in tools 2019-12-09 16:35:02 +00:00
include [skottie] Optionally-deferred single-frame image loading 2019-12-05 21:46:59 +00:00
src [skottie] Cascading track matte support 2019-12-12 21:42:11 +00:00
utils Remove ResourceProvider and ImageAsset sample impls from skottie 2019-11-26 15:47:14 +00:00
BUILD.gn Extracted Skottie's resource provider to a separate module 2019-11-25 18:58:26 +00:00
skottie.gni [skottie] Invert effect support 2019-12-11 23:07:04 +00:00