skia2/modules
Florin Malita e359aa35d1 [sksg] Fix mask/context overrides interaction
We're currently letting render context overrides (opacity, color
filters, blend mode, etc) spill down the descendent/mask content
tree.

This is not ideal, as mask content isolation breaks atomicity
assumptions for deferred overrides.  Case in point: motion blur uses
SkBlendMode::kPlus to accumulate content "layers" - but since mask
content gets rendered into a separate layer, it fails to produce the
expected result.

The fix is to realize all context overrides on the top-level mask layer
(we already allocate this layer, so there's no reason to defer
downstream anyway).

Change-Id: Icbb7e403f90feecfae5846697f559a03d8aa4097
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/239036
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-09-04 14:09:44 +00:00
..
canvaskit [canvaskit] Add rrect support 2019-09-03 18:00:16 +00:00
particles Particles: Change effect lifetime logic to work like particles 2019-09-03 13:56:39 +00:00
pathkit rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
skottie [skottie] Clean up TextAdapter 2019-09-03 15:29:36 +00:00
skparagraph remove unused sk_sp comparison operators 2019-08-27 14:52:01 +00:00
skplaintexteditor tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
sksg [sksg] Fix mask/context overrides interaction 2019-09-04 14:09:44 +00:00
skshaper Make SkFunctionWrapper a better wrapper. 2019-08-20 20:31:36 +00:00