aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer/android/VulkanTestContext_android.h
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2016-05-04 13:49:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-04 13:49:13 -0700
commit345242671587d7273819bfe423be96e4392033e3 (patch)
tree7139d9f494699850865bd1925b2fe39a076718a6 /tools/viewer/android/VulkanTestContext_android.h
parent9b92ebdf41ed1fbd9ff598afad1804315ad62d46 (diff)
Rename VulkanViewer to Viewer, take 2.
Also puts Window and Application in sk_app namespace. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1945103003 Review-Url: https://codereview.chromium.org/1945103003
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