| Index: tools/vulkan/android/VulkanTestContext_android.h
|
| diff --git a/tools/vulkan/win/VulkanTestContext_win.h b/tools/vulkan/android/VulkanTestContext_android.h
|
| similarity index 54%
|
| copy from tools/vulkan/win/VulkanTestContext_win.h
|
| copy to tools/vulkan/android/VulkanTestContext_android.h
|
| index 59b5c2cfd6b4f23befe2fb5eed088a267f2ff222..66ed35c2f67492df6dda0c346c9275404cccd8c9 100644
|
| --- a/tools/vulkan/win/VulkanTestContext_win.h
|
| +++ b/tools/vulkan/android/VulkanTestContext_android.h
|
| @@ -5,18 +5,17 @@
|
| * 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
|
| +#ifndef VULKANTESTCONTEXT_ANDROID_DEFINED
|
| +#define VULKANTESTCONTEXT_ANDROID_DEFINED
|
|
|
| #ifdef SK_VULKAN
|
|
|
| -#include <windows.h>
|
| #include "../VulkanTestContext.h"
|
|
|
| -// for Windows
|
| -struct ContextPlatformData_win {
|
| - HINSTANCE fHInstance;
|
| - HWND fHWnd;
|
| +struct ANativeWindow;
|
| +
|
| +struct ContextPlatformData_android {
|
| + ANativeWindow* fNativeWindow;
|
| };
|
|
|
| #endif // SK_VULKAN
|
|
|