vulkan.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #ifndef VULKAN_H_
  2. #define VULKAN_H_ 1
  3. /*
  4. ** Copyright (c) 2015-2018 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_MIR_KHR
  34. #include <mir_toolkit/client_types.h>
  35. #include "vulkan_mir.h"
  36. #endif
  37. #ifdef VK_USE_PLATFORM_VI_NN
  38. #include "vulkan_vi.h"
  39. #endif
  40. #ifdef VK_USE_PLATFORM_WAYLAND_KHR
  41. #include <wayland-client.h>
  42. #include "vulkan_wayland.h"
  43. #endif
  44. #ifdef VK_USE_PLATFORM_WIN32_KHR
  45. #include <windows.h>
  46. #include "vulkan_win32.h"
  47. #endif
  48. #ifdef VK_USE_PLATFORM_XCB_KHR
  49. #include <xcb/xcb.h>
  50. #include "vulkan_xcb.h"
  51. #endif
  52. #ifdef VK_USE_PLATFORM_XLIB_KHR
  53. #include <X11/Xlib.h>
  54. #include "vulkan_xlib.h"
  55. #endif
  56. #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
  57. #include <X11/Xlib.h>
  58. #include <X11/extensions/Xrandr.h>
  59. #include "vulkan_xlib_xrandr.h"
  60. #endif
  61. #endif // VULKAN_H_