WindowContextFactory_win.h 661 B

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