HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vulkan_screen.h
Go to the documentation of this file.
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
17 extern "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"
28  const void* pNext;
29  VkScreenSurfaceCreateFlagsQNX flags;
30  struct _screen_context* context;
31  struct _screen_window* window;
33 
34 typedef VkResult (VKAPI_PTR *PFN_vkCreateScreenSurfaceQNX)(VkInstance instance, const VkScreenSurfaceCreateInfoQNX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
35 typedef VkBool32 (VKAPI_PTR *PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct _screen_window* window);
36 
37 #ifndef VK_NO_PROTOTYPES
39  VkInstance instance,
40  const VkScreenSurfaceCreateInfoQNX* pCreateInfo,
41  const VkAllocationCallbacks* pAllocator,
42  VkSurfaceKHR* pSurface);
43 
45  VkPhysicalDevice physicalDevice,
46  uint32_t queueFamilyIndex,
47  struct _screen_window* window);
48 #endif
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif
VkStructureType
Definition: vulkan_core.h:208
uint32_t VkBool32
Definition: vulkan_core.h:93
VkResult
Definition: vulkan_core.h:139
#define VKAPI_CALL
Definition: vk_platform.h:57
VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceScreenPresentationSupportQNX(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct _screen_window *window)
#define VKAPI_PTR
Definition: vk_platform.h:58
#define VKAPI_ATTR
Definition: vk_platform.h:56
VkScreenSurfaceCreateFlagsQNX flags
Definition: vulkan_screen.h:29
struct VkScreenSurfaceCreateInfoQNX VkScreenSurfaceCreateInfoQNX
VKAPI_ATTR VkResult VKAPI_CALL vkCreateScreenSurfaceQNX(VkInstance instance, const VkScreenSurfaceCreateInfoQNX *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
struct _screen_window * window
Definition: vulkan_screen.h:31
struct _screen_context * context
Definition: vulkan_screen.h:30
VkFlags VkScreenSurfaceCreateFlagsQNX
Definition: vulkan_screen.h:25
uint32_t VkFlags
Definition: vulkan_core.h:96
VkBool32(VKAPI_PTR * PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct _screen_window *window)
Definition: vulkan_screen.h:35
VkResult(VKAPI_PTR * PFN_vkCreateScreenSurfaceQNX)(VkInstance instance, const VkScreenSurfaceCreateInfoQNX *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
Definition: vulkan_screen.h:34