Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / tools / sk_app / android / WindowContextFactory_android.h
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 #include <memory>
15
16 namespace sk_app {
17
18 class WindowContext;
19 struct DisplayParams;
20
21 namespace window_context_factory {
22
23 std::unique_ptr<WindowContext> MakeVulkanForAndroid(ANativeWindow*, const DisplayParams&);
24
25 std::unique_ptr<WindowContext> MakeGLForAndroid(ANativeWindow*, const DisplayParams&);
26
27 std::unique_ptr<WindowContext> MakeRasterForAndroid(ANativeWindow*, const DisplayParams&);
28
29 }  // namespace window_context_factory
30
31 }  // namespace sk_app
32
33 #endif