skia2/modules
Florin Malita 0f11e115d7 [skottie] Fix motion blur asserts
MotionBlurEffect makes use of many abilities some consider to be
unnatural.  Notably, it mutates the state of its subtree at render time
(gasp) to sample various time points.

Mutation triggers scene graph invalidation, which bubbles up the
ancestor chain.  While we immediately revalidate the subtree, we
cannot do the same for ancestors (no full scene knowledge).  This means
post-rendering, we leave some SG nodes dirty - which triggers various
debug asserts).

The easiest fix is to temporarily suppress invalidation bubbling at the
MotionBlurEffect node level (this is safe, because we always revalidate
the subtree).

Also add a post-render assert for tighter state validation.

Change-Id: I376b7a8880f71d85e595c419334b42bc4720ac65
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/243420
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-09-23 17:34:42 +00:00
..
canvaskit [canvaskit] add support for SkAnimatedImage 2019-09-20 18:34:01 +00:00
particles Particles: Sub-effect spawning and some slight refactoring 2019-09-19 15:18:13 +00:00
pathkit Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
skottie [skottie] Fix motion blur asserts 2019-09-23 17:34:42 +00:00
skparagraph Fix for the build 2019-09-04 21:59:09 +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 Properly subset the run in ShapeThenWrap. 2019-09-17 19:24:07 +00:00