skia2/modules/sksg/include
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
..
SkSGClipEffect.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGColor.h "Modularize" SkSG 2018-05-25 17:11:52 +00:00
SkSGColorFilter.h Reland "[skottie] Add tritone layer effect support" 2019-02-22 23:11:02 +00:00
SkSGDraw.h starter sample for playing with SG. 2019-02-12 17:03:40 +00:00
SkSGEffectNode.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGGeometryNode.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGGeometryTransform.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGGradient.h "Modularize" SkSG 2018-05-25 17:11:52 +00:00
SkSGGroup.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGImage.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGInvalidationController.h Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
SkSGMaskEffect.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGMerge.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGNode.h [sksg] Fix image filter content inval rect tracking 2019-02-10 21:43:20 +00:00
SkSGOpacityEffect.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGPaintNode.h [sksg] Stop caching full SkPaints in Paint nodes 2018-09-11 21:14:25 +00:00
SkSGPath.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGPlane.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGRect.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGRenderEffect.h [skottie] Layer blend mode support 2019-02-25 15:48:07 +00:00
SkSGRenderNode.h [skottie] Layer blend mode support 2019-02-25 15:48:07 +00:00
SkSGRoundEffect.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGScene.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGText.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGTransform.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGTrimEffect.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00