skia2/tools/sk_app
John Stiles 6fc05d8b37 Allow system key equivalents to work again.
The changes in http://review.skia.org/300182 caused cmd-Q to stop
working normally in Viewer, because the Mac window would report that it
had processed all key equivalents. This prevented the NSApp from
handling key equivalents in the menu bar. This CL now forwards on all
key equivalents to the system for processing (even as it passes them to
ImGui), allowing cmd-Q to work again.

This CL also simplifies the pattern for updating modifier keys slightly.

Change-Id: I2285839b41dd361e34694eccbc6d581662b24648
Bug: skia:10338
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/300651
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2020-07-06 19:02:24 +00:00
..
android Revert "Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots"""" 2020-03-20 17:11:58 +00:00
ios Revert "Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots"""" 2020-03-20 17:11:58 +00:00
mac Allow system key equivalents to work again. 2020-07-06 19:02:24 +00:00
unix Revert "Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots"""" 2020-03-20 17:11:58 +00:00
win Fix D3D debug clang build. 2020-07-01 14:39:53 +00:00
Application.h Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
CommandSet.cpp Remove SkMaxScalar and SkMinScalar 2020-02-06 15:43:22 +00:00
CommandSet.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
DawnWindowContext.cpp Roll Dawn and add dependencies 2020-03-30 18:52:06 +00:00
DawnWindowContext.h Update dawn.h -> webgpu.h, dawn_cpp.h -> webgpu_cpp.h. 2019-12-04 15:24:16 +00:00
DisplayParams.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GLWindowContext.cpp Fix GL MSAA support in Mac Viewer. 2019-07-11 22:31:43 +00:00
GLWindowContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
MetalWindowContext.h Use LazyProxy to set up Metal swapchain. 2019-10-18 14:04:41 +00:00
MetalWindowContext.mm Use LazyProxy to set up Metal swapchain. 2019-10-18 14:04:41 +00:00
RasterWindowContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
VulkanWindowContext.cpp Add SkSurface flush call that takes a GrBackendSurfaceMutableState. 2020-06-12 20:40:54 +00:00
VulkanWindowContext.h Add support for vk image sharing mode and handle queues xfers correctly. 2020-06-02 15:58:28 +00:00
Window.cpp Update internal skia uses to use flushAndSubmit and submit calls. 2020-05-14 20:26:44 +00:00
Window.h Add Direct3D swapchain support 2020-05-14 14:23:02 +00:00
WindowContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00