Demo application that renders a triangle using Vulkan on the Pixel 3A.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #ifndef VULKAN_H_
  2. #define VULKAN_H_ 1
  3. /*
  4. ** Copyright (c) 2015-2019 The Khronos Group Inc.
  5. **
  6. ** Licensed under the Apache License, Version 2.0 (the "License");
  7. ** you may not use this file except in compliance with the License.
  8. ** You may obtain a copy of the License at
  9. **
  10. ** http://www.apache.org/licenses/LICENSE-2.0
  11. **
  12. ** Unless required by applicable law or agreed to in writing, software
  13. ** distributed under the License is distributed on an "AS IS" BASIS,
  14. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ** See the License for the specific language governing permissions and
  16. ** limitations under the License.
  17. */
  18. #include "vk_platform.h"
  19. #include "vulkan_core.h"
  20. #ifdef VK_USE_PLATFORM_ANDROID_KHR
  21. #include "vulkan_android.h"
  22. #endif
  23. #ifdef VK_USE_PLATFORM_FUCHSIA
  24. #include <zircon/types.h>
  25. #include "vulkan_fuchsia.h"
  26. #endif
  27. #ifdef VK_USE_PLATFORM_IOS_MVK
  28. #include "vulkan_ios.h"
  29. #endif
  30. #ifdef VK_USE_PLATFORM_MACOS_MVK
  31. #include "vulkan_macos.h"
  32. #endif
  33. #ifdef VK_USE_PLATFORM_METAL_EXT
  34. #include "vulkan_metal.h"
  35. #endif
  36. #ifdef VK_USE_PLATFORM_VI_NN
  37. #include "vulkan_vi.h"
  38. #endif
  39. #ifdef VK_USE_PLATFORM_WAYLAND_KHR
  40. #include <wayland-client.h>
  41. #include "vulkan_wayland.h"
  42. #endif
  43. #ifdef VK_USE_PLATFORM_WIN32_KHR
  44. #include <windows.h>
  45. #include "vulkan_win32.h"
  46. #endif
  47. #ifdef VK_USE_PLATFORM_XCB_KHR
  48. #include <xcb/xcb.h>
  49. #include "vulkan_xcb.h"
  50. #endif
  51. #ifdef VK_USE_PLATFORM_XLIB_KHR
  52. #include <X11/Xlib.h>
  53. #include "vulkan_xlib.h"
  54. #endif
  55. #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
  56. #include <X11/Xlib.h>
  57. #include <X11/extensions/Xrandr.h>
  58. #include "vulkan_xlib_xrandr.h"
  59. #endif
  60. #ifdef VK_USE_PLATFORM_GGP
  61. #include <ggp_c/vulkan_types.h>
  62. #include "vulkan_ggp.h"
  63. #endif
  64. #endif // VULKAN_H_