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_win_DEFINED 10 #define WindowContextFactory_win_DEFINED 11 12 #include <Windows.h> 13 14 namespace sk_app { 15 16 class WindowContext; 17 struct DisplayParams; 18 19 namespace window_context_factory { 20 21 WindowContext* NewVulkanForWin(HWND, const DisplayParams&); 22 23 WindowContext* NewGLForWin(HWND, const DisplayParams&); 24 25 WindowContext* NewANGLEForWin(HWND, const DisplayParams&); 26 27 WindowContext* NewRasterForWin(HWND, const DisplayParams&); 28 29 } // namespace window_context_factory 30 31 } // namespace sk_app 32 33 #endif 34