skia2/resources/skottie
Florin Malita 1a9e7531e0 [skottie] Fix text opacity animator semantics
The current implementation uses multiplicative composition for opacity
animators (modulate_opacity always scales the new opacity by the old
value).  That means that if one animator drops opacity all the way to
zero, there is no way for subsequent animators to increase opacity.

Instead, AE seems to use the same interpolation as for colors
(prev value/animator value, based on modulation param).

Update to use similar interpolation for opacity properties, and also
to only apply when opacity props are actually specified for a given
animator.

Change-Id: I5a96f9e3722399c8ec661a7843c86dfa60eac5ca
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/499376
Reviewed-by: Jorge Betancourt <jmbetancourt@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
2022-01-25 17:58:15 +00:00
..
images [skottie] Fix layer transform vs. effects interactions 2019-06-17 12:26:13 +00:00
skottie_sample_1.json [skottie] GM exercising external font loading 2018-09-20 19:05:35 +00:00
skottie_sample_2.json [skottie] GM exercising external font loading 2018-09-20 19:05:35 +00:00
skottie_sample_multiframe.json [skottie] Multi-frame image support 2018-10-03 19:02:35 +00:00
skottie_sample_search.json [skottie] Add a custom property manager util class 2018-11-28 17:12:07 +00:00
skottie_sample_webfont.json [skottie] Add custom props rendering GM 2020-01-17 13:53:02 +00:00
skottie-3d-2planes.json [skottie] Add a couple more 3D tests 2019-11-04 19:08:43 +00:00
skottie-3d-3planes.json [skottie] Add a couple more 3D tests 2019-11-04 19:08:43 +00:00
skottie-3d-parenting-camera.json [skottie] 3D layer parenting refinements 2019-10-28 20:29:54 +00:00
skottie-3d-parenting-nocamera.json [skottie] 3D layer parenting refinements 2019-10-28 20:29:54 +00:00
skottie-3d-rotation-order.json [skottie] Relocate "GMs" to resources/ 2019-05-03 16:14:46 +00:00
skottie-auto-orient-2.json [skottie] Auto-orient fixes 2020-07-08 13:52:27 +00:00
skottie-auto-orient.json [skottie] Layer auto-orient support 2020-05-25 16:19:23 +00:00
skottie-bezier-extranormal.json [skottie] Relocate "GMs" to resources/ 2019-05-03 16:14:46 +00:00
skottie-blackandwhite-effect.json [skottie] Black & White effect 2020-10-27 17:03:40 +00:00
skottie-brightnesscontrast-legacy.json [skottie] Brightness and Contrast effect 2020-04-28 14:33:12 +00:00
skottie-brightnesscontrast.json [skottie] Contrast cleanup 2020-04-29 13:57:22 +00:00
skottie-buldge.json add skottie support for Bulge ADBE effect 2021-11-04 21:05:22 +00:00
skottie-camera-one-node.json [skottie] One-node camera support 2019-11-14 18:45:18 +00:00
skottie-camera-parent-1.json [skottie] Relocate "GMs" to resources/ 2019-05-03 16:14:46 +00:00
skottie-camera-parent-2.json [skottie] Relocate "GMs" to resources/ 2019-05-03 16:14:46 +00:00
skottie-camera-parent-3.json [skottie] Relocate "GMs" to resources/ 2019-05-03 16:14:46 +00:00
skottie-camera-precomp.json [skottie] Fix precomposed camera sizing 2019-12-05 14:34:15 +00:00
skottie-camera-rotation.json [skottie] Relocate "GMs" to resources/ 2019-05-03 16:14:46 +00:00
skottie-cctoner.json add CCToner support to skottie 2021-10-08 17:03:50 +00:00
skottie-chained-mattes.json [skottie] Cascading track matte support 2019-12-12 21:42:11 +00:00
skottie-corner-pin-effect.json [skottie] Corner pin effect 2020-04-05 16:47:06 +00:00
skottie-directional-blur.json expose directional blur to skottie 2021-10-20 19:41:30 +00:00
skottie-displacement-expand.json [skottie] Add support for displacement map output expansion 2021-08-12 17:43:14 +00:00
skottie-displacement-hsla.json [skottie] Initial Displacement Map effect 2020-09-11 14:15:44 +00:00
skottie-displacement-lfho.json [skottie] Initial Displacement Map effect 2020-09-11 14:15:44 +00:00
skottie-displacement-rgba.json [skottie] Initial Displacement Map effect 2020-09-11 14:15:44 +00:00
skottie-displacement-tiling.json [skottie] Initial Displacement Map effect 2020-09-11 14:15:44 +00:00
skottie-dropshadow-style.json [skottie] Initial drop shadow style support 2020-03-25 12:14:26 +00:00
skottie-effects-tranform.json [skottie] Fix layer transform vs. effects interactions 2019-06-17 12:26:13 +00:00
skottie-fill-effect.json [skottie] Cleanup: convert remaining effects to new adapter pattern 2020-01-30 15:30:08 +00:00
skottie-fractalnoise-basic.json [skottie] Fractal noise 'fractal type' support 2021-03-02 15:50:32 +00:00
skottie-fractalnoise-block.json [skottie] Initial fractal noise effect 2021-03-01 19:50:10 +00:00
skottie-fractalnoise-cycle.json [skottie] Fractal Noise: cycle evolution support 2021-10-18 15:11:06 +00:00
skottie-fractalnoise-linear.json [skottie] Initial fractal noise effect 2021-03-01 19:50:10 +00:00
skottie-fractalnoise-scalerotate.json [skottie] Fix Fractal Noise transform order 2021-10-08 13:59:01 +00:00
skottie-fractalnoise-softlinear.json [skottie] Initial fractal noise effect 2021-03-01 19:50:10 +00:00
skottie-fractalnoise-sphere.json [skottie] Fractal noise 'fractal type' support 2021-03-02 15:50:32 +00:00
skottie-fractalnoise-suboptions.json [skottie] Initial fractal noise effect 2021-03-01 19:50:10 +00:00
skottie-fractalnoise-turbulentbasic.json [skottie] Fractal noise 'fractal type' support 2021-03-02 15:50:32 +00:00
skottie-fractalnoise-turbulentsharp.json [skottie] Fractal noise 'fractal type' support 2021-03-02 15:50:32 +00:00
skottie-fractalnoise-turbulentsmooth.json [skottie] Fractal noise 'fractal type' support 2021-03-02 15:50:32 +00:00
skottie-glow-spread.json [skottie] Add spread/choke support for glow styles 2020-07-22 23:20:02 +00:00
skottie-gradient-opacity.json [skottie] Streamlined gradient stop merger 2019-11-05 19:44:11 +00:00
skottie-gradient-ramp.json [skottie] Relocate "GMs" to resources/ 2019-05-03 16:14:46 +00:00
skottie-hidden-shapes-layers.json [skottie] Relocate "GMs" to resources/ 2019-05-03 16:14:46 +00:00
skottie-huesaturation-animated.json [skottie] Improved Hue/Saturation effect 2021-09-27 13:30:48 +00:00
skottie-huesaturation-effect.json [skottie] Initial Hue/Saturate effect support 2019-08-02 18:04:14 +00:00
skottie-inline-fonts.json [skottie] Add support for inline/data-uri fonts 2020-07-25 13:46:52 +00:00
skottie-innerglow-style.json [skottie] Initial outer/inner glow 2020-04-23 13:46:48 +00:00
skottie-innershadow-style.json [skottie] Initial inner shadow layer style support 2020-04-17 19:57:08 +00:00
skottie-invert-effect-yiq.json [skottie] Add support for invert/YIQ 2020-09-11 14:55:44 +00:00
skottie-invert-effect.json [skottie] Invert effect support 2019-12-11 23:07:04 +00:00
skottie-levels-effect.json [skottie] Relocate "GMs" to resources/ 2019-05-03 16:14:46 +00:00
skottie-line-height.json [skottie] Text line height support 2019-05-08 19:27:52 +00:00
skottie-linear-wipe-effect.json [skottie] Add forgotten linear-wipe test 2019-07-03 15:06:42 +00:00
skottie-luma-matte.json [skottie] Luma matte support 2019-10-16 13:17:51 +00:00
skottie-mask-feather.json [skottie] Relocate "GMs" to resources/ 2019-05-03 16:14:46 +00:00
skottie-masking-opaque.json [skottie] More masking fixes 2020-07-21 13:58:45 +00:00
skottie-masking-translucent.json [skottie] More masking fixes 2020-07-21 13:58:45 +00:00
skottie-matte-blendmode.json [skottie] Fix layer blend modes under mattes 2019-10-29 01:49:26 +00:00
skottie-mergepaths-effect.json [skottie] Fix merge paths <-> paints interaction 2020-07-07 17:28:47 +00:00
skottie-motion-blur-mask.json [sksg] Fix mask/context overrides interaction 2019-09-04 14:09:44 +00:00
skottie-motion-blur-ph0.json [skottie] Motion blur support 2019-07-09 13:02:17 +00:00
skottie-motion-blur-ph360.json [skottie] Motion blur support 2019-07-09 13:02:17 +00:00
skottie-motion-blur-ph-360.json [skottie] Motion blur support 2019-07-09 13:02:17 +00:00
skottie-motiontile-effect-phase.json [skottie] Fix MotionTile/opacity interaction 2021-09-27 18:04:20 +00:00
skottie-motiontile-effect.json [skottie] Fix MotionTile/opacity interaction 2021-09-27 18:04:20 +00:00
skottie-multi-range-selectors.json [skottie] Add support for multiple range selectors 2019-08-14 17:34:02 +00:00
skottie-nested-animation.json [skottie] Introduce an external layer API 2020-05-06 20:31:14 +00:00
skottie-offsetpaths-effect.json [skottie] Add shape layer Offset Paths support 2020-07-06 16:31:52 +00:00
skottie-outerglow-style.json [skottie] Initial outer/inner glow 2020-04-23 13:46:48 +00:00
skottie-phonehub-connecting_min.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-connecting.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-generic-error_min.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-generic-error.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-onboard_min.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-onboard.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-connecting_min.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-connecting.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-generic-error_min.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-generic-error.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-no-frills-connecting_min.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-no-frills-connecting.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-no-frills-generic-error_min.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-no-frills-generic-error.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-no-frills-onboard_min.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-no-frills-onboard.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-no-masks-connecting_min.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-no-masks-connecting.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-no-masks-onboard_min.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-no-masks-onboard.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-onboard_min.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-phonehub-svgo-onboard.json Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
skottie-prolevels-effect.json [skottie] Add support for ADBE Pro Levels2 effect 2020-02-05 21:05:08 +00:00
skottie-puckerbloat-effect.json [skottie] Pucker & Bloat shape layer vector effect 2020-07-10 18:09:53 +00:00
skottie-radial-wipe-effect.json [skottie] Radial swipe effect 2019-06-21 14:03:45 +00:00
skottie-repeater.json [skottie] Assorted shape repeater fixes 2020-08-26 13:24:53 +00:00
skottie-sharpen.json add sharpen effect support to skottie player 2021-12-14 19:44:26 +00:00
skottie-shift-channels-effect.json [skottie] Shift Channels effect support 2019-10-22 20:36:01 +00:00
skottie-sksl-color-filter.json add plumbing for color filter SkSL effect 2021-11-23 16:30:40 +00:00
skottie-sksl-effect.json plumb experimental SkSL layer effect in native Skottie player 2021-11-01 18:05:15 +00:00
skottie-sphere-controls.json [skottie] Sphere layer effect 2021-02-02 18:36:23 +00:00
skottie-sphere-effect.json [skottie] Sphere layer effect 2021-02-02 18:36:23 +00:00
skottie-sphere-lighting-types.json [skottie] Sphere effect lighting 2021-02-10 21:34:57 +00:00
skottie-sphere-lighting.json [skottie] Sphere effect lighting 2021-02-10 21:34:57 +00:00
skottie-text-allcaps.json Reland "[skottie] AllCaps support" 2021-09-03 14:43:59 +00:00
skottie-text-animator-1.json [skottie] Add support for scale and rotation text animators 2019-05-31 20:41:19 +00:00
skottie-text-animator-2.json [skottie] Initial text range selector support 2019-06-04 20:50:32 +00:00
skottie-text-animator-3.json [skottie] Add support for RangeSelector shapes 2019-06-06 13:51:11 +00:00
skottie-text-animator-4.json [skottie] Fix zero-overlap selector handling 2019-06-06 16:09:39 +00:00
skottie-text-animator-5.json [skottie] Add text colorization GM 2020-12-10 17:10:48 +00:00
skottie-text-animator-6.json [skottie] Animated text tracking support 2019-06-11 13:41:28 +00:00
skottie-text-animator-7.json [skottie] Animated text tracking support 2019-06-11 13:41:28 +00:00
skottie-text-animator-8.json [skottie] Text selector ease-high/ease-low support 2019-08-29 21:34:10 +00:00
skottie-text-animator-fillstrokeopacity.json [skottie] Text fill/stroke opacity animators 2021-05-13 20:03:52 +00:00
skottie-text-animator-linespacing.json [skottie] Add line-spacing animator support 2020-07-06 15:41:12 +00:00
skottie-text-animator-opacity.json [skottie] Fix text opacity animator semantics 2022-01-25 17:58:15 +00:00
skottie-text-baseline-shift.json [skottie] Add support for baseline shift 2020-08-21 20:05:10 +00:00
skottie-text-blur.json [skottie] Add support for text animator blur 2020-02-24 14:01:16 +00:00
skottie-text-fill-over-stroke.json [skottie] Fill-over-stroke support for text 2020-07-10 14:44:23 +00:00
skottie-text-grouping-alignment-2.json [skottie] Add another text grouping test 2020-03-03 15:17:20 +00:00
skottie-text-grouping-alignment.json [skottie] Text anchor point grouping support 2020-03-02 23:07:39 +00:00
skottie-text-perchar-3d.json [skottie] Initial support for per-character 3D 2020-02-21 21:14:02 +00:00
skottie-text-pointmode-downscaletofit.json [skottie] Auto-resize and VAlign support for point text 2020-10-02 19:33:35 +00:00
skottie-text-pointmode-scaletofit.json [skottie] Auto-resize and VAlign support for point text 2020-10-02 19:33:35 +00:00
skottie-text-resize-to-fit.json [skottie] Add kBottom text alignment extension 2019-05-24 15:28:01 +00:00
skottie-text-scale-to-fit-minmax.json [skottie] Add support for min/max text font size 2021-05-06 15:41:07 +00:00
skottie-text-scale-to-fit.json [skottie] Shaper downscale-to-fit vertical alignment mode 2019-08-19 18:59:06 +00:00
skottie-text-valign-2.json [skottie] Use hybrid bounds for custom Shaper VAlign modes 2019-06-28 11:35:09 +00:00
skottie-text-valign-bottom.json [skottie] Add kBottom text alignment extension 2019-05-24 15:28:01 +00:00
skottie-text-valign-scaletofit.json [skottie] Separate text resize options 2020-01-29 00:09:42 +00:00
skottie-text-valign.json [skottie] Relocate "GMs" to resources/ 2019-05-03 16:14:46 +00:00
skottie-text-vertical-clip.json [skottie] Clip overflowing paragraph lines 2020-02-20 18:35:15 +00:00
skottie-textpath-01.json [skottie] Initial text path support 2021-10-08 15:09:35 +00:00
skottie-textpath-02.json [skottie] Initial text path support 2021-10-08 15:09:35 +00:00
skottie-textpath-03.json [skottie] Initial text path support 2021-10-08 15:09:35 +00:00
skottie-textpath-04.json [skottie] Initial text path support 2021-10-08 15:09:35 +00:00
skottie-textpath-05.json [skottie] Initial text path support 2021-10-08 15:09:35 +00:00
skottie-textpath-paragraph-01.json [skottie] Path support for paragraph text 2021-10-11 15:26:00 +00:00
skottie-textpath-paragraph-02.json [skottie] Path support for paragraph text 2021-10-11 15:26:00 +00:00
skottie-textpath-paragraph-03.json [skottie] Path support for paragraph text 2021-10-11 15:26:00 +00:00
skottie-threshold-compositing.json [skottie] Add threshold effect 2021-02-11 16:35:32 +00:00
skottie-threshold-effect.json [skottie] Add threshold effect 2021-02-11 16:35:32 +00:00
skottie-time-reverse.json [skottie] Fix handling of time-reversed precomp layers 2020-02-28 19:42:51 +00:00
skottie-transform-effect.json [skottie] Add support for Transform distort effect 2019-06-14 16:58:31 +00:00
skottie-transform-skew.json [skottie] Implement skew & skew axis support 2021-02-08 22:24:38 +00:00
skottie-trimpath-fill.json [SkTrimPathEffect] Preserve wrap-around continuity 2020-04-07 14:40:17 +00:00
skottie-trimpath-modes.json [skottie] Fix trim path mode interpretation 2019-11-05 18:31:24 +00:00
skottie-tritone-effect.json [skottie] Cleanup: convert remaining effects to new adapter pattern 2020-01-30 15:30:08 +00:00
skottie-venetianblinds-effect.json [skottie] Venetian Blinds effect 2019-06-26 13:13:10 +00:00