skia2/modules
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
..
canvaskit [canvaskit] roll to 0.10.0 2019-12-09 17:51:23 +00:00
particles Particles: Do a cleanup/standardization pass on the API 2019-12-03 20:06:18 +00:00
pathkit Reland "fix sense of ifdef for deprecated method" 2019-12-02 17:45:26 +00:00
skottie [skottie] Cascading track matte support 2019-12-12 21:42:11 +00:00
skparagraph Font features 2019-12-10 19:19:24 +00:00
skplaintexteditor tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
skresources Copy SkottieUtils' classes into skresources 2019-11-26 14:25:44 +00:00
sksg [skottie] Handle null mask filter effects gracefully 2019-11-26 19:09:04 +00:00
skshaper Add feature support to shaper. 2019-12-06 14:42:31 +00:00