skia2/tools/viewer
Brian Osman ffee60f859 Fix GUI windows not appearing on first key in viewer
After the last update to ImGui, windows delayed visibility for one
frame, to get properly sized. We would detect that no windows were
"active" (really, visible) and not re-paint, so we never got the second
frame when the window finally showed up.

Omar put a fix to the stats in ImGui for this, so that Active windows
are tracked separately from Visible. This pulls that change in, and
updates the test to correctly redraw when the GUI requires it.

Change-Id: Iaa61f11fcc226917e3e2b31039055a7fa1961e45
Reviewed-on: https://skia-review.googlesource.com/145361
Commit-Queue: Brian Osman <brianosman@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Auto-Submit: Brian Osman <brianosman@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2018-08-03 18:21:32 +00:00
..
BisectSlide.cpp Stop using SkTSwap. 2018-06-19 02:06:31 +00:00
BisectSlide.h Resurrect pathfinder in viewer and rename to "bisect" 2018-02-20 20:44:33 +00:00
GMSlide.cpp Allow slides/gms to extend the UI 2018-05-15 14:29:43 +00:00
GMSlide.h Allow slides/gms to extend the UI 2018-05-15 14:29:43 +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 Update ImGui to v1.62 (June 22, 2018) 2018-06-29 18:58:57 +00:00
ImGuiLayer.h Update ImGui to v1.62 (June 22, 2018) 2018-06-29 18:58:57 +00:00
NIMASlide.cpp added options to enable caching and draw bounds in NIMA slide 2018-07-20 18:47:26 +00:00
NIMASlide.h added options to enable caching and draw bounds in NIMA slide 2018-07-20 18:47:26 +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
SkottieSlide.cpp [skottie] Remove inPoint/outPoint/frameRate from public API 2018-06-01 13:10:15 +00:00
SkottieSlide.h [skottie] Relocate to modules/skottie 2018-05-27 02:21:33 +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 Allow slides/gms to extend the UI 2018-05-15 14:29:43 +00:00
SlideDir.cpp remove conditional flags for sksg -- not needed for a module 2018-07-31 22:27:20 +00:00
SlideDir.h SlideDir focus w/ animation 2018-02-19 18:43:44 +00:00
StatsLayer.cpp Add 'u' to zoom stats display on high DPI devices 2018-07-30 15:00:25 +00:00
StatsLayer.h Add 'u' to zoom stats display on high DPI devices 2018-07-30 15:00:25 +00:00
SvgSlide.cpp Fix !defined(SK_XML) builds 2018-08-01 14:28:56 +00:00
SvgSlide.h Viewer SVG support 2018-04-05 16:34:22 +00:00
Viewer.cpp Fix GUI windows not appearing on first key in viewer 2018-08-03 18:21:32 +00:00
Viewer.h Add 'u' to zoom stats display on high DPI devices 2018-07-30 15:00:25 +00:00