| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2016 Google Inc. | 3 * Copyright 2016 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 #ifndef VULKANTESTCONTEXT_WIN_DEFINED | 8 #ifndef VULKANTESTCONTEXT_ANDROID_DEFINED |
| 9 #define VULKANTESTCONTEXT_WIN_DEFINED | 9 #define VULKANTESTCONTEXT_ANDROID_DEFINED |
| 10 | 10 |
| 11 #ifdef SK_VULKAN | 11 #ifdef SK_VULKAN |
| 12 | 12 |
| 13 #include <windows.h> | |
| 14 #include "../VulkanTestContext.h" | 13 #include "../VulkanTestContext.h" |
| 15 | 14 |
| 16 // for Windows | 15 struct ANativeWindow; |
| 17 struct ContextPlatformData_win { | 16 |
| 18 HINSTANCE fHInstance; | 17 struct ContextPlatformData_android { |
| 19 HWND fHWnd; | 18 ANativeWindow* fNativeWindow; |
| 20 }; | 19 }; |
| 21 | 20 |
| 22 #endif // SK_VULKAN | 21 #endif // SK_VULKAN |
| 23 | 22 |
| 24 #endif | 23 #endif |
| OLD | NEW |