3 * Copyright 2016 Google Inc.
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
9 #ifndef WindowContextFactory_android_DEFINED
10 #define WindowContextFactory_android_DEFINED
12 #include <android/native_window_jni.h>
21 namespace window_context_factory {
23 std::unique_ptr<WindowContext> MakeVulkanForAndroid(ANativeWindow*, const DisplayParams&);
25 std::unique_ptr<WindowContext> MakeGLForAndroid(ANativeWindow*, const DisplayParams&);
27 std::unique_ptr<WindowContext> MakeRasterForAndroid(ANativeWindow*, const DisplayParams&);
29 } // namespace window_context_factory