skia2/modules/skottie
Florin Malita 04462d12c8 [skottie] Fix text selector sub-unit range handling
The current logic modulates the shape generator output by its fractional
coverage, ignoring constant lo/hi contributions.

But RampUp/RampDown have non-zero hi/lo constant coverage, which needs
to be accounted for.

The correct behavior is to perform a 3-way weighted average of the
lo/hi/generator, based on their relative weights.

Change-Id: Ide0ed2ae590bbce2b56c0c65008b64632b987905
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/218962
Commit-Queue: Florin Malita <fmalita@chromium.org>
Commit-Queue: Ben Wagner <bungeman@google.com>
Auto-Submit: Florin Malita <fmalita@chromium.org>
Reviewed-by: Ben Wagner <bungeman@google.com>
2019-06-07 01:34:27 +00:00
..
fuzz rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
gm IWYU for gms starting with 'a'. 2019-04-30 19:39:37 +00:00
include rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
src [skottie] Fix text selector sub-unit range handling 2019-06-07 01:34:27 +00:00
utils rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BUILD.gn IWYU for gms starting with 'a'. 2019-04-30 19:39:37 +00:00
skottie.gni [skottie] Initial text range selector support 2019-06-04 20:50:32 +00:00