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 "../VulkanWindowContext.h" |
14 | 14 |
15 struct ANativeWindow; | 15 struct ANativeWindow; |
16 | 16 |
| 17 namespace sk_app { |
| 18 |
17 struct ContextPlatformData_android { | 19 struct ContextPlatformData_android { |
18 ANativeWindow* fNativeWindow; | 20 ANativeWindow* fNativeWindow; |
19 }; | 21 }; |
20 | 22 |
| 23 } |
21 #endif // SK_VULKAN | 24 #endif // SK_VULKAN |
22 | 25 |
23 #endif | 26 #endif |
OLD | NEW |