skia2/modules/sksg
Florin Malita ccacfa02d2 [skottie] Caching motion tile
Update MotionTileEffect to avoid rebuilding shaders redundantly,
at render time:

  1) build all shaders at revalidation time
  2) cache the layer content picture separately, and only rebuild when
     the layer content changes

To support #2, add some SG helpers for querying subtree inval state.

With this change, we avoid all render time allocations.

Notry: true
Change-Id: I55a1f95752704af6a667b266e725492de6640387
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/226512
Commit-Queue: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
Auto-Submit: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
2019-07-10 19:13:41 +00:00
..
include [skottie] Caching motion tile 2019-07-10 19:13:41 +00:00
samples Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
src [skottie] Caching motion tile 2019-07-10 19:13:41 +00:00
tests rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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