skia2/modules
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
..
canvaskit [canvaskit] remove debugging code 2019-09-26 20:13:21 +00:00
particles Change ByteCode and ByteCodeFunction to classes 2019-09-30 18:02:24 +00:00
pathkit Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
skottie [skottie] Fix motion blur glitches around domain edges 2019-10-01 17:25:12 +00:00
skparagraph [SkParagraph] Require len if using addText(const char*) 2019-09-29 11:39:34 +00:00
skplaintexteditor tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
sksg [skottie] Fix motion blur asserts 2019-09-23 17:34:42 +00:00
skshaper Improve implementations of copyTable. 2019-09-30 14:55:44 +00:00