skia2/modules/skottie
Florin Malita 9c57e16950 [skottie] Fill effect opacity workaround
The Fill effect has separate "color" and "opacity" components.

In AE, the color chooser does not allow modifying the alpha channel --
the only source for Fill transparency is the opacity property.

Thus, the alpha component of the color property should always be 1.

But in practice, it appears Bodymovin sometimes exports the color with a
zero alpha field (BM always encodes colors as 4-float arrays).

To workaround this issue, update Fill to ignore the color alpha and only
use the explicit opacity.

Change-Id: Ic4bbbc1ac91d255fe14e3261d1ae03340e053ce2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/454856
Commit-Queue: Florin Malita <fmalita@google.com>
Reviewed-by: Jorge Betancourt <jmbetancourt@google.com>
2021-10-01 16:20:54 +00:00
..
fuzz [fuzz] Standardize, document, and backport fuzzing defines. 2020-09-14 13:36:10 +00:00
gm [skottie] Add text colorization GM 2020-12-10 17:10:48 +00:00
include Reland "[skottie] AllCaps support" 2021-09-03 14:43:59 +00:00
src [skottie] Fill effect opacity workaround 2021-10-01 16:20:54 +00:00
tests Added TextExpressionAnimator 2021-09-30 19:28:31 +00:00
utils Expanded PropertyObserver interface to include Node Type 2021-06-11 17:00:47 +00:00
BUILD.gn Reland "[skottie] AllCaps support" 2021-09-03 14:43:59 +00:00
skottie.gni [skottie] Initial fractal noise effect 2021-03-01 19:50:10 +00:00