skia2/modules/sksg
Florin Malita 8dad1ffd81 [sksg] Improved layer elision heuristic
We can skip effect layers when none of the child nodes overlap (treat as
atomic draws, with effects applied on their paint).

The initial heuristic was simply checking for more than one child.

This version relaxes the heuristic to check each child bounds against
the union of preceding siblings.

Change-Id: I2dc6d30d945697f410100db0c46a8a8377d5b569
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269482
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Klein <mtklein@google.com>
2020-02-07 23:20:34 +00:00
..
include [sksg] Improved layer elision heuristic 2020-02-07 23:20:34 +00:00
samples [skottie] Expose SG inval controller on seek() 2019-07-22 16:33:15 +00:00
src [sksg] Improved layer elision heuristic 2020-02-07 23:20:34 +00:00
tests [sksg] Fix setVisible() invalidation 2019-07-23 14:16:39 +00:00
BUILD.gn GN: split out skia_*_public from skia_*_sources 2019-03-15 18:29:19 +00:00
sksg.gni [skottie] Caching motion tile 2019-07-10 19:13:41 +00:00