skia2/modules
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
..
canvaskit Change SkSL main() from (float x, float y) to (float2 p) 2020-02-07 20:19:13 +00:00
particles Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
pathkit Fix wasm builds 2020-01-28 19:03:49 +00:00
skottie Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
skparagraph Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
skplaintexteditor Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
skresources use std::make_unique 2019-12-12 22:32:45 +00:00
sksg [sksg] Improved layer elision heuristic 2020-02-07 23:20:34 +00:00
skshaper Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00