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_ANDROID_DEFINED | 8 #ifndef VULKANTESTCONTEXT_ANDROID_DEFINED |
9 #define VULKANTESTCONTEXT_ANDROID_DEFINED | 9 #define VULKANTESTCONTEXT_ANDROID_DEFINED |
10 | 10 |
11 #ifdef SK_VULKAN | 11 #ifdef SK_VULKAN |
12 | 12 |
13 #include "../VulkanTestContext.h" | 13 #include "../VulkanTestContext.h" |
14 | 14 |
15 struct ANativeWindow; | 15 struct ANativeWindow; |
16 | 16 |
17 struct ContextPlatformData_android { | 17 struct ContextPlatformData_android { |
18 ANativeWindow* fNativeWindow; | 18 ANativeWindow* fNativeWindow; |
19 }; | 19 }; |
20 | 20 |
21 #endif // SK_VULKAN | 21 #endif // SK_VULKAN |
22 | 22 |
23 #endif | 23 #endif |
OLD | NEW |