OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2016 Google Inc. | 3 * Copyright 2016 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #ifndef WindowContextFactory_win_DEFINED | 9 #ifndef WindowContextFactory_win_DEFINED |
10 #define WindowContextFactory_win_DEFINED | 10 #define WindowContextFactory_win_DEFINED |
11 | 11 |
12 #include <Windows.h> | 12 #include <Windows.h> |
13 | 13 |
14 namespace sk_app { | 14 namespace sk_app { |
15 | 15 |
16 class WindowContext; | 16 class WindowContext; |
17 struct DisplayParams; | 17 struct DisplayParams; |
18 | 18 |
19 namespace window_context_factory { | 19 namespace window_context_factory { |
20 | 20 |
21 WindowContext* NewVulkanForWin(HWND, const DisplayParams&); | 21 WindowContext* NewVulkanForWin(HWND, const DisplayParams&); |
22 | 22 |
23 WindowContext* NewGLForWin(HWND, const DisplayParams&); | 23 WindowContext* NewGLForWin(HWND, const DisplayParams&); |
24 | 24 |
| 25 WindowContext* NewRasterForWin(HWND, const DisplayParams&); |
| 26 |
25 } // namespace window_context_factory | 27 } // namespace window_context_factory |
26 | 28 |
27 } // namespace sk_app | 29 } // namespace sk_app |
28 | 30 |
29 #endif | 31 #endif |
OLD | NEW |