skia2/modules/skottie
Florin Malita e3e4b0cfc1 [skottie] Fix motion blur glitches around domain edges
For motion blur we're sampling within some window around a given t.

If t is close to the layer in/out point, things get murky: for samples
which fall outside the layer lifespan, we skip drawing => fewer samples
are accumulated => the opacity of the result drops => visual glitches.

The solution is to modulate the frame alpha based on the number of
*visible* samples, and skip rendering when no samples are visible.

Bug: skia:9486
Change-Id: I8d9692ae1589b43d9e6f728d7b7ac2fbf39153fe
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/245363
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-10-01 17:25:12 +00:00
..
fuzz rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
gm [skottie] Pass asset IDs to ResourceProvider::loadImageAsset 2019-07-17 01:08:05 +00:00
include [skottie] Clean up TextAdapter 2019-09-03 15:29:36 +00:00
src [skottie] Fix motion blur glitches around domain edges 2019-10-01 17:25:12 +00:00
utils [skottie] Multi-threaded skottie_tool 2019-09-24 18:29:09 +00:00
BUILD.gn [skottie,skshaper] Plumb an optional SkFontMgr in SkShaper/SkottieShaper 2019-07-26 19:34:48 +00:00
skottie.gni [skottie] Initial Hue/Saturate effect support 2019-08-02 18:04:14 +00:00