• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 /*
3  * Copyright 2016 Google Inc.
4  *
5  * Use of this source code is governed by a BSD-style license that can be
6  * found in the LICENSE file.
7  */
8 
9 #ifndef WindowContextFactory_android_DEFINED
10 #define WindowContextFactory_android_DEFINED
11 
12 #include <android/native_window_jni.h>
13 
14 
15 namespace sk_app {
16 
17 class WindowContext;
18 struct DisplayParams;
19 
20 namespace window_context_factory {
21 
22 WindowContext* NewVulkanForAndroid(ANativeWindow*, const DisplayParams&);
23 
24 WindowContext* NewGLForAndroid(ANativeWindow*, const DisplayParams&);
25 
26 WindowContext* NewRasterForAndroid(ANativeWindow*, const DisplayParams&);
27 
28 }  // namespace window_context_factory
29 
30 }  // namespace sk_app
31 
32 #endif
33