skia2/tools/viewer/sk_app
Brian Osman 28b1252bab Added MSAA selection to viewer GUI
On Windows, we need to reconstruct the window to allow setting a new
pixel format with a different sample count.

Added some code that maintains window size/position across these changes.
Previously, just cycling through backends would cause the window to move,
as the "default" position would cycle across the screen. Now it's pinned.

BUG=skia:

Change-Id: Iecbe7a490577382043ffe5a88c910b4c0be2ed5c
Reviewed-on: https://skia-review.googlesource.com/9085
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2017-03-08 22:48:57 +00:00
..
android Add msaa flag and UI to viewer 2017-02-27 16:46:34 +00:00
mac Add msaa flag and UI to viewer 2017-02-27 16:46:34 +00:00
unix Use glXCreateContextAttribsARB in viewer to make it easier to attach RenderDoc. 2017-03-08 16:25:50 +00:00
win Added MSAA selection to viewer GUI 2017-03-08 22:48:57 +00:00
Application.h More accurate render time and continuous fresh 2016-07-06 14:11:32 -07:00
CommandSet.cpp Revert "Revert "Revert[2] "hide deprecated underline and strikethru""" 2017-02-23 14:19:40 +00:00
CommandSet.h Integrate the ImGui library with viewer 2017-02-10 19:17:03 +00:00
DisplayParams.h viewer: Add a "Path renderer" dropdown menu 2017-02-28 18:21:34 +00:00
GLWindowContext.cpp viewer: Add a "Path renderer" dropdown menu 2017-02-28 18:21:34 +00:00
GLWindowContext.h Add msaa flag and UI to viewer 2017-02-27 16:46:34 +00:00
RasterWindowContext.h Use Windowing system-specific WindowContext factories. 2016-07-26 12:02:51 -07:00
VulkanWindowContext.cpp viewer: Add a "Path renderer" dropdown menu 2017-02-28 18:21:34 +00:00
VulkanWindowContext.h tools: s/SkAutoTUnref/sk_sp/ 2016-11-03 21:00:34 +00:00
Window.cpp Fix crash switching to Vulkan in viewer on Windows 2017-02-28 20:15:43 +00:00
Window.h Added MSAA selection to viewer GUI 2017-03-08 22:48:57 +00:00
WindowContext.h Add msaa flag and UI to viewer 2017-02-27 16:46:34 +00:00