#include "sk_app/Window.h"
#include "gm.h"
#include "SkAnimTimer.h"
+#include "SkTouchGesture.h"
#include "Slide.h"
class SkCanvas;
#ifndef VulkanWindowContext_DEFINED
#define VulkanWindowContext_DEFINED
+#include "SkTypes.h" // required to pull in any SkUserConfig defines
+
#ifdef SK_VULKAN
#include "vk/GrVkBackendContext.h"
* found in the LICENSE file.
*/
-#include "Window_android.h"
#include "../VulkanWindowContext.h"
+#include "WindowContext_android.h"
#include "vk/GrVkInterface.h"
#include "vk/GrVkUtil.h"
--- /dev/null
+/*
+* 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
#ifndef Window_android_DEFINED
#define Window_android_DEFINED
-#include <android/native_window_jni.h>
-
#include "../Window.h"
+#include "WindowContext_android.h"
#include "surface_glue_android.h"
namespace sk_app {
-struct ContextPlatformData_android {
- ANativeWindow* fNativeWindow;
-};
-
class Window_android : public Window {
public:
Window_android() : Window() {}