Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: tools/vulkan/android/VulkanTestContext_android.h

Issue 1903253003: VulkanViewer on Android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: gyp Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/vulkan/Window.h ('k') | tools/vulkan/android/VulkanTestContext_android.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « tools/vulkan/Window.h ('k') | tools/vulkan/android/VulkanTestContext_android.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698