skia2/tools/sk_app
Brian Salomon 9fa47cc1c6 Make class members that are static constexpr also be inline.
This is in prep for compiling with -std=c++14 and -Wno-c++17-extensions
when building with clang. Chrome has encountered problems with
third_party headers that are included both in Skia and other Chrome
sources that produce different code based on whether preprocessor macros
indicate a C++14 or C++17 compilation.

In C++17 they are already inline implicitly. When compiling with C++14
we can get linker errors unless they're explicitly inlined or defined
outside the class. With -Wno-c++17-extensions we can explicitly inline
them in the C++14 build because the warning that would be generated
about using a C++17 language extension is suppressed.

We cannot do this in public headers because we support compiling with
C++14 without suppressing the C++17 language extension warnings.

Bug: chromium:1257145
Change-Id: Iaf5f4c62a398f98dd4ca9b7dfb86f2d5cab21d66
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/457498
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2021-10-11 16:22:59 +00:00
..
android Revert "Fix crash on windows viewer when starting in vulkan." 2020-12-16 14:52:07 +00:00
ios Reland "Fix sk_app macOS raster window build conditions." 2021-04-19 18:25:44 +00:00
mac [graphite] Add support to Mac Viewer. 2021-09-30 21:38:25 +00:00
unix Initialize fBackend in Window_unix 2021-06-29 14:33:26 +00:00
win Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
Application.h
CommandSet.cpp Include the SkTSort header only where it is used. 2020-07-14 14:19:06 +00:00
CommandSet.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
DawnWindowContext.cpp Fix usage of deprecated wgpu::TextureUsage::OutputAttachment 2021-05-17 14:42:30 +00:00
DawnWindowContext.h Update the sk_app WindowContext to hold a GrDirectContext 2020-07-10 18:27:03 +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] Add support to Mac Viewer. 2021-09-30 21:38:25 +00:00
MetalWindowContext.h Reland "Remove ARC from tools lib." 2021-02-22 17:55:52 +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 VulkanWindowContext uses sample-able swap VkImages when available. 2020-10-09 21:53:43 +00:00
VulkanWindowContext.h VulkanWindowContext uses sample-able swap VkImages when available. 2020-10-09 21:53:43 +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] Add support to Mac Viewer. 2021-09-30 21:38:25 +00:00
WindowContext.h [graphite] Add support to Mac Viewer. 2021-09-30 21:38:25 +00:00