diff options
author | 2016-05-05 12:32:03 -0700 | |
---|---|---|
committer | 2016-05-05 12:32:03 -0700 | |
commit | a8d0d6c8bad00e713bc33e5f0d47ca4fec104433 (patch) | |
tree | 8f78250c57c9c9d96f8e2fac7864630c97fe3cb9 /tools/viewer/sk_app/win/VulkanWindowContext_win.h | |
parent | 2d1ee7936e3536e45c963db004e3b512bb415fd8 (diff) |
More refactoring for Viewer
* Move support files into sk_app and main files up to top directory
* Rename VulkanTestContext and create WindowContext parent class
* Place VulkanWindowContext et al. in sk_app namespace.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1944413005
Review-Url: https://codereview.chromium.org/1944413005
Diffstat (limited to 'tools/viewer/sk_app/win/VulkanWindowContext_win.h')
-rw-r--r-- | tools/viewer/sk_app/win/VulkanWindowContext_win.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/viewer/sk_app/win/VulkanWindowContext_win.h b/tools/viewer/sk_app/win/VulkanWindowContext_win.h new file mode 100644 index 0000000000..e0b5a156f9 --- /dev/null +++ b/tools/viewer/sk_app/win/VulkanWindowContext_win.h @@ -0,0 +1,28 @@ + +/* + * Copyright 2016 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ +#ifndef VULKANTESTCONTEXT_WIN_DEFINED +#define VULKANTESTCONTEXT_WIN_DEFINED + +#ifdef SK_VULKAN + +#include <windows.h> +#include "../VulkanWindowContext.h" + +namespace sk_app { + +// for Windows +struct ContextPlatformData_win { + HINSTANCE fHInstance; + HWND fHWnd; +}; + +} + +#endif // SK_VULKAN + +#endif |