aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer/android/VulkanTestContext_android.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/viewer/android/VulkanTestContext_android.h')
-rw-r--r--tools/viewer/android/VulkanTestContext_android.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/viewer/android/VulkanTestContext_android.h b/tools/viewer/android/VulkanTestContext_android.h
new file mode 100644
index 0000000000..66ed35c2f6
--- /dev/null
+++ b/tools/viewer/android/VulkanTestContext_android.h
@@ -0,0 +1,23 @@
+
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+#ifndef VULKANTESTCONTEXT_ANDROID_DEFINED
+#define VULKANTESTCONTEXT_ANDROID_DEFINED
+
+#ifdef SK_VULKAN
+
+#include "../VulkanTestContext.h"
+
+struct ANativeWindow;
+
+struct ContextPlatformData_android {
+ ANativeWindow* fNativeWindow;
+};
+
+#endif // SK_VULKAN
+
+#endif