vulkan_screen.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #ifndef VULKAN_SCREEN_H_
  2. #define VULKAN_SCREEN_H_ 1
  3. /*
  4. ** Copyright 2015-2022 The Khronos Group Inc.
  5. **
  6. ** SPDX-License-Identifier: Apache-2.0
  7. */
  8. /*
  9. ** This header is generated from the Khronos Vulkan XML API Registry.
  10. **
  11. */
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #define VK_QNX_screen_surface 1
  16. #define VK_QNX_SCREEN_SURFACE_SPEC_VERSION 1
  17. #define VK_QNX_SCREEN_SURFACE_EXTENSION_NAME "VK_QNX_screen_surface"
  18. typedef VkFlags VkScreenSurfaceCreateFlagsQNX;
  19. typedef struct VkScreenSurfaceCreateInfoQNX {
  20. VkStructureType sType;
  21. const void* pNext;
  22. VkScreenSurfaceCreateFlagsQNX flags;
  23. struct _screen_context* context;
  24. struct _screen_window* window;
  25. } VkScreenSurfaceCreateInfoQNX;
  26. typedef VkResult (VKAPI_PTR *PFN_vkCreateScreenSurfaceQNX)(VkInstance instance, const VkScreenSurfaceCreateInfoQNX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
  27. typedef VkBool32 (VKAPI_PTR *PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct _screen_window* window);
  28. #ifndef VK_NO_PROTOTYPES
  29. VKAPI_ATTR VkResult VKAPI_CALL vkCreateScreenSurfaceQNX(
  30. VkInstance instance,
  31. const VkScreenSurfaceCreateInfoQNX* pCreateInfo,
  32. const VkAllocationCallbacks* pAllocator,
  33. VkSurfaceKHR* pSurface);
  34. VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceScreenPresentationSupportQNX(
  35. VkPhysicalDevice physicalDevice,
  36. uint32_t queueFamilyIndex,
  37. struct _screen_window* window);
  38. #endif
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. #endif