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