blob: f0ef40a6caff00a50325957d9624990ccb0c8f81 [file] [log] [blame]
Nicolas Capensb461e202021-05-13 09:06:18 -04001#ifndef VULKAN_SCREEN_H_
2#define VULKAN_SCREEN_H_ 1
3
4/*
sugoi1bca23442022-01-26 17:49:23 -05005** Copyright 2015-2022 The Khronos Group Inc.
Nicolas Capensb461e202021-05-13 09:06:18 -04006**
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