skia2/modules/sksg
Florin Malita a524ea266d [skottie] More masking fixes
Assorted bugfixes for the non-analytical mask code path.

1) SkSG modulatePaint() should only override the blend mode when
   one is specified (!= kSrcOver).

2) Some modes (notably intersect) require touching pixels outside the
   mask draw geometry.  These modes must be applied as a layer.
   Introduce an explicit layer node in SkSG, and inject for masks which
   require it.

Also refactor Subtract to use more natural blend and pathops modes,
instead of always inverting geometry.

TBR=
Change-Id: I412168d1ff61eb8e59907babe8f0e091f6fffacf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/303997
Reviewed-by: Florin Malita <fmalita@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
2020-07-21 13:58:45 +00:00
..
include [skottie] More masking fixes 2020-07-21 13:58:45 +00:00
samples [skottie] Cleanup: relocate Animator base class out of SkSG 2020-03-26 20:50:10 +00:00
src [skottie] More masking fixes 2020-07-21 13:58:45 +00:00
tests Revert "Revert "move onto new factories for SkMatrix"" 2020-05-21 16:58:39 +00:00
BUILD.gn reformat GN files 2020-04-01 23:23:03 +00:00
sksg.gni [sksg] Consolidate geometry effects 2020-07-03 16:55:28 +00:00