46a331b93f
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> |
||
---|---|---|
.. | ||
images | ||
skottie_sample_1.json | ||
skottie_sample_2.json | ||
skottie_sample_multiframe.json | ||
skottie_sample_nested.json | ||
skottie_sample_search.json | ||
skottie_sample_webfont.json | ||
skottie-3d-2planes.json | ||
skottie-3d-3planes.json | ||
skottie-3d-parenting-camera.json | ||
skottie-3d-parenting-nocamera.json | ||
skottie-3d-rotation-order.json | ||
skottie-bezier-extranormal.json | ||
skottie-camera-one-node.json | ||
skottie-camera-parent-1.json | ||
skottie-camera-parent-2.json | ||
skottie-camera-parent-3.json | ||
skottie-camera-precomp.json | ||
skottie-camera-rotation.json | ||
skottie-chained-mattes.json | ||
skottie-effects-tranform.json | ||
skottie-gradient-opacity.json | ||
skottie-gradient-ramp.json | ||
skottie-hidden-shapes-layers.json | ||
skottie-huesaturation-effect.json | ||
skottie-invert-effect.json | ||
skottie-levels-effect.json | ||
skottie-line-height.json | ||
skottie-linear-wipe-effect.json | ||
skottie-luma-matte.json | ||
skottie-mask-feather.json | ||
skottie-matte-blendmode.json | ||
skottie-motion-blur-mask.json | ||
skottie-motion-blur-ph0.json | ||
skottie-motion-blur-ph360.json | ||
skottie-motion-blur-ph-360.json | ||
skottie-motiontile-effect-phase.json | ||
skottie-motiontile-effect.json | ||
skottie-multi-range-selectors.json | ||
skottie-radial-wipe-effect.json | ||
skottie-shift-channels-effect.json | ||
skottie-text-animator-1.json | ||
skottie-text-animator-2.json | ||
skottie-text-animator-3.json | ||
skottie-text-animator-4.json | ||
skottie-text-animator-5.json | ||
skottie-text-animator-6.json | ||
skottie-text-animator-7.json | ||
skottie-text-animator-8.json | ||
skottie-text-resize-to-fit.json | ||
skottie-text-scale-to-fit.json | ||
skottie-text-valign-2.json | ||
skottie-text-valign-bottom.json | ||
skottie-text-valign.json | ||
skottie-transform-effect.json | ||
skottie-trimpath-modes.json | ||
skottie-venetianblinds-effect.json |