diff options
author | Jon Leech <[email protected]> | 2021-03-01 02:58:14 -0800 |
---|---|---|
committer | Jon Leech <[email protected]> | 2021-03-01 02:58:14 -0800 |
commit | ac1702076683abd1fee7800053c951ee46bbfa54 (patch) | |
tree | 312476a8b43090b31570431f9453a30a0f725d8e | |
parent | a6a971aa64b3ae9fa4a6d9da9b260e45806e9ee8 (diff) | |
download | Vulkan-Headers-ac1702076683abd1fee7800053c951ee46bbfa54.tar.gz Vulkan-Headers-ac1702076683abd1fee7800053c951ee46bbfa54.zip |
Forgot to add new header.
Closes #187
-rw-r--r-- | include/vulkan/vulkan_screen.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/include/vulkan/vulkan_screen.h b/include/vulkan/vulkan_screen.h new file mode 100644 index 0000000..92ad9bf --- /dev/null +++ b/include/vulkan/vulkan_screen.h @@ -0,0 +1,54 @@ +#ifndef VULKAN_SCREEN_H_ +#define VULKAN_SCREEN_H_ 1 + +/* +** Copyright 2015-2021 The Khronos Group Inc. +** +** SPDX-License-Identifier: Apache-2.0 +*/ + +/* +** This header is generated from the Khronos Vulkan XML API Registry. +** +*/ + + +#ifdef __cplusplus +extern "C" { +#endif + + + +#define VK_QNX_screen_surface 1 +#define VK_QNX_SCREEN_SURFACE_SPEC_VERSION 1 +#define VK_QNX_SCREEN_SURFACE_EXTENSION_NAME "VK_QNX_screen_surface" +typedef VkFlags VkScreenSurfaceCreateFlagsQNX; +typedef struct VkScreenSurfaceCreateInfoQNX { + VkStructureType sType; + const void* pNext; + VkScreenSurfaceCreateFlagsQNX flags; + struct _screen_context* context; + struct _screen_window* window; +} VkScreenSurfaceCreateInfoQNX; + +typedef VkResult (VKAPI_PTR *PFN_vkCreateScreenSurfaceQNX)(VkInstance instance, const VkScreenSurfaceCreateInfoQNX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface); +typedef VkBool32 (VKAPI_PTR *PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct _screen_window* window); + +#ifndef VK_NO_PROTOTYPES +VKAPI_ATTR VkResult VKAPI_CALL vkCreateScreenSurfaceQNX( + VkInstance instance, + const VkScreenSurfaceCreateInfoQNX* pCreateInfo, + const VkAllocationCallbacks* pAllocator, + VkSurfaceKHR* pSurface); + +VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceScreenPresentationSupportQNX( + VkPhysicalDevice physicalDevice, + uint32_t queueFamilyIndex, + struct _screen_window* window); +#endif + +#ifdef __cplusplus +} +#endif + +#endif |