skia2/modules/sksg
Florin Malita bd64f18947 [skottie] Layer blend mode support
Introduce sksg::BlendModeEffect and use to wrap Skottie layers based on
their "bm" property.

Depending on the presence of non-trivial layer blend modes and the nature
of the destination buffer (fully transparent vs. unknown/pre-filled), we
may now need to render animation frames into a separate layer for correct
compositing.

Track the presence of non-trivial layer blend modes such that we only incur
this extra layer overhead when needed.  Also allow clients to pass a "drawing
to fully transparent buffer" hint such that we can avoid the extra layer even
when blend modes are present.

Change-Id: Iaf645878666da4349d0bef8890bbecad23a0aa9b
Reviewed-on: https://skia-review.googlesource.com/c/194840
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-02-25 15:48:07 +00:00
..
include [skottie] Layer blend mode support 2019-02-25 15:48:07 +00:00
samples [sksg] Consolidate Matrix node implementations 2019-01-10 21:50:54 +00:00
src [skottie] Layer blend mode support 2019-02-25 15:48:07 +00:00
tests [sksg] Fix group hit-testing order 2019-02-12 21:10:00 +00:00
BUILD.gn [canvaskit] JS API in place for shaped text 2019-02-22 15:39:55 +00:00
sksg.gni Reland "[skottie] Add drop shadow support" 2019-02-10 01:49:55 +00:00