skia2/tools/viewer
Florin Malita 5fb009df3c Fix Viewer slide load on backend change
Currently Viewer fires unbalanced load events on backend change.

Instead of calling setupCurrentSlide() with an invalid prevSlide and
always forcing a slide load, pass a |force| argument on backend change.

Change-Id: I146b42331f5aa9721d4f407b81c13f4512d67d61
Reviewed-on: https://skia-review.googlesource.com/94960
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2018-01-16 17:12:54 +00:00
..
GMSlide.cpp Add more SampleApp support to viewer. 2017-02-14 21:25:01 +00:00
GMSlide.h Add more SampleApp support to viewer. 2017-02-14 21:25:01 +00:00
ImageSlide.cpp Add onBackendCreated callback to Viewer 2017-02-24 22:37:34 +00:00
ImageSlide.h Simplify viewer's handling of backbuffer surface and color space 2017-02-08 17:34:05 +00:00
ImGuiLayer.cpp Move ImGui support code to ImGuiLayer 2017-12-11 17:37:58 +00:00
ImGuiLayer.h Move ImGui support code to ImGuiLayer 2017-12-11 17:37:58 +00:00
SampleSlide.cpp Fix sample modifier keys for mouse events 2017-12-05 14:05:31 +00:00
SampleSlide.h Add sample mouse support to Viewer 2017-11-02 14:25:21 +00:00
SkottySlide2.cpp [skotty,sksg] Initial image support 2018-01-08 18:11:31 +00:00
SkottySlide.cpp [skotty] Minor tools tweaks 2018-01-09 22:06:48 +00:00
SkottySlide.h add skotty-dir slide 2018-01-08 13:44:49 +00:00
SKPSlide.cpp SkFontData to use smart pointers. 2016-09-16 06:24:20 -07:00
SKPSlide.h Add samples to Viewer. 2016-06-16 09:52:35 -07:00
Slide.h Add sample mouse support to Viewer 2017-11-02 14:25:21 +00:00
StatsLayer.cpp Move stats code to new layer (with configurable list of timers) 2017-12-20 16:59:04 +00:00
StatsLayer.h Move stats code to new layer (with configurable list of timers) 2017-12-20 16:59:04 +00:00
Viewer.cpp Fix Viewer slide load on backend change 2018-01-16 17:12:54 +00:00
Viewer.h Fix Viewer slide load on backend change 2018-01-16 17:12:54 +00:00