skia2/tools/viewer
Florin Malita 00d4f535c9 [skottie] Expose SG inval controller on seek()
- shift the revalidation phase from Scene::render() to Scene::animate()
 - pass an optional inval controller to Scene::animate() and Animation::seek()
 - hoist the showInval logic out of SkSG, into clients

This allows clients to track dirty regions and detect cases where no updates are needed.

Bug: skia:9267
Change-Id: I3d35bf58b6eee9bfeb6e127ba58e2b96713b772d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/229001
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
2019-07-22 16:33:15 +00:00
..
AnimTimer.h tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
BisectSlide.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BisectSlide.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GMSlide.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
GMSlide.h tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
ImageSlide.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ImageSlide.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ImGuiLayer.cpp sk_app, Sample: Unify InputState enum. 2019-07-16 14:51:03 +00:00
ImGuiLayer.h sk_app, Sample: Unify InputState enum. 2019-07-16 14:51:03 +00:00
ParticlesSlide.cpp sk_app, Sample: Unify InputState enum. 2019-07-16 14:51:03 +00:00
ParticlesSlide.h sk_app, Sample: Unify InputState enum. 2019-07-16 14:51:03 +00:00
SampleSlide.cpp sk_app, Sample: Unify InputState enum. 2019-07-16 14:51:03 +00:00
SampleSlide.h sk_app, Sample: Unify InputState enum. 2019-07-16 14:51:03 +00:00
SkottieSlide.cpp [skottie] Expose SG inval controller on seek() 2019-07-22 16:33:15 +00:00
SkottieSlide.h [skottie] Expose SG inval controller on seek() 2019-07-22 16:33:15 +00:00
SKPSlide.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SKPSlide.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Slide.h sk_app, Sample: Unify InputState enum. 2019-07-16 14:51:03 +00:00
SlideDir.cpp sk_app, Sample: Unify InputState enum. 2019-07-16 14:51:03 +00:00
SlideDir.h sk_app, Sample: Unify InputState enum. 2019-07-16 14:51:03 +00:00
StatsLayer.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
StatsLayer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SvgSlide.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SvgSlide.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TouchGesture.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TouchGesture.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Viewer.cpp ccpr: Add an MSAA atlas mode 2019-07-19 20:52:17 +00:00
Viewer.h sk_app, Sample: Unify InputState enum. 2019-07-16 14:51:03 +00:00