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_mac_DEFINED | 9 #ifndef WindowContextFactory_mac_DEFINED |
10 #define WindowContextFactory_mac_DEFINED | 10 #define WindowContextFactory_mac_DEFINED |
(...skipping 11 matching lines...) Expand all Loading... |
22 SDL_Window* fWindow; | 22 SDL_Window* fWindow; |
23 }; | 23 }; |
24 | 24 |
25 inline WindowContext* NewVulkanForMac(const MacWindowInfo&, const DisplayParams&
) { | 25 inline WindowContext* NewVulkanForMac(const MacWindowInfo&, const DisplayParams&
) { |
26 // No Vulkan support on Mac. | 26 // No Vulkan support on Mac. |
27 return nullptr; | 27 return nullptr; |
28 } | 28 } |
29 | 29 |
30 WindowContext* NewGLForMac(const MacWindowInfo&, const DisplayParams&); | 30 WindowContext* NewGLForMac(const MacWindowInfo&, const DisplayParams&); |
31 | 31 |
| 32 WindowContext* NewRasterForMac(const MacWindowInfo&, const DisplayParams&); |
| 33 |
32 } // namespace window_context_factory | 34 } // namespace window_context_factory |
33 | 35 |
34 } // namespace sk_app | 36 } // namespace sk_app |
35 | 37 |
36 #endif | 38 #endif |
OLD | NEW |