skia2/tools/sk_app
John Stiles 4250effcc5 Prepare to reenable unreachable-code warnings.
Adding double-parens around an `if ((false))` squelches the warning.
In other cases, you can squelch the warning by assigning the
always-constant(-on-this-machine) check into a constexpr bool.

Change-Id: I5a344fb45779c5bd2865edb3cffaf839ba9a5d85
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/504597
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-02-04 21:45:39 +00:00
..
android Prepare to reenable unreachable-code warnings. 2022-02-04 21:45:39 +00:00
ios [bazel] Try adding cc_binary rules that use generated rules 2021-11-30 18:18:53 +00:00
mac Replace uses of deprecated dawn_native::BackendType 2022-01-11 15:12:45 +00:00
unix In vulkan tests, use vkGetInstanceProcAddr to get vkGetDeviceProcAddr. 2022-01-14 17:04:16 +00:00
wasm Set up basic hello world sk_app 2022-01-06 20:29:35 +00:00
win In vulkan tests, use vkGetInstanceProcAddr to get vkGetDeviceProcAddr. 2022-01-14 17:04:16 +00:00
Application.h Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
BUILD.bazel [bazel] Regenerate files and build with c++17 2022-02-01 13:15:22 +00:00
CommandSet.cpp Migrate SK_strcasecmp to SkStringUtils.h. 2021-12-08 22:52:04 +00:00
CommandSet.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
DawnWindowContext.cpp Replace uses of deprecated dawn_native::BackendType 2022-01-11 15:12:45 +00:00
DawnWindowContext.h Replace uses of deprecated dawn_native::BackendType 2022-01-11 15:12:45 +00:00
DisplayParams.h Hide binaryArchive use in Viewer behind a flag. 2020-11-25 17:27:47 +00:00
GLWindowContext.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
GLWindowContext.h Update the sk_app WindowContext to hold a GrDirectContext 2020-07-10 18:27:03 +00:00
GraphiteMetalWindowContext.h [graphite] Add support to Mac Viewer. 2021-09-30 21:38:25 +00:00
GraphiteMetalWindowContext.mm [graphite] Hook up viewer 2022-01-18 15:49:51 +00:00
MetalWindowContext.h Fix ODR violation in Metal code. 2021-10-20 21:33:32 +00:00
MetalWindowContext.mm Reland "Add new GrSurfaceInfo class and related backend structs." 2021-09-20 20:44:53 +00:00
RasterWindowContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
VulkanWindowContext.cpp In vulkan tests, use vkGetInstanceProcAddr to get vkGetDeviceProcAddr. 2022-01-14 17:04:16 +00:00
VulkanWindowContext.h In vulkan tests, use vkGetInstanceProcAddr to get vkGetDeviceProcAddr. 2022-01-14 17:04:16 +00:00
Window.cpp Add activation events to sk_app. 2020-11-16 16:44:08 +00:00
Window.h [graphite] Add support to Mac Viewer. 2021-09-30 21:38:25 +00:00
WindowContext.cpp [graphite] Hook up viewer 2022-01-18 15:49:51 +00:00
WindowContext.h [graphite] Make Context no longer ref counted. 2022-02-03 17:18:40 +00:00