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

Unified Diff: tools/viewer/sk_app/android/WindowContext_android.h

Issue 2058763002: Cleanup VulkanWindowContext for use on Android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Cleanup VulkanWindowContext for use on Android Created 4 years, 6 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
Index: tools/viewer/sk_app/android/WindowContext_android.h
diff --git a/tools/viewer/sk_app/android/WindowContext_android.h b/tools/viewer/sk_app/android/WindowContext_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..f0529fe44eee6356a39283e318115a4e653e7adc
--- /dev/null
+++ b/tools/viewer/sk_app/android/WindowContext_android.h
@@ -0,0 +1,21 @@
+/*
+* 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 WindowContext_android_DEFINED
+#define WindowContext_android_DEFINED
+
+#include <android/native_window_jni.h>
+
+namespace sk_app {
+
+struct ContextPlatformData_android {
+ ANativeWindow* fNativeWindow;
+};
+
+} // namespace sk_app
+
+#endif // WindowContext_android_DEFINED
« no previous file with comments | « tools/viewer/sk_app/android/VulkanWindowContext_android.cpp ('k') | tools/viewer/sk_app/android/Window_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698