1 #ifndef VULKAN_XLIB_XRANDR_H_
2 #define VULKAN_XLIB_XRANDR_H_ 1
3 
4 /*
5 ** Copyright 2015-2023 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 // VK_EXT_acquire_xlib_display is a preprocessor guard. Do not pass it to API calls.
23 #define VK_EXT_acquire_xlib_display 1
24 #define VK_EXT_ACQUIRE_XLIB_DISPLAY_SPEC_VERSION 1
25 #define VK_EXT_ACQUIRE_XLIB_DISPLAY_EXTENSION_NAME "VK_EXT_acquire_xlib_display"
26 typedef VkResult (VKAPI_PTR *PFN_vkAcquireXlibDisplayEXT)(VkPhysicalDevice physicalDevice, Display* dpy, VkDisplayKHR display);
27 typedef VkResult (VKAPI_PTR *PFN_vkGetRandROutputDisplayEXT)(VkPhysicalDevice physicalDevice, Display* dpy, RROutput rrOutput, VkDisplayKHR* pDisplay);
28 
29 #ifndef VK_NO_PROTOTYPES
30 VKAPI_ATTR VkResult VKAPI_CALL vkAcquireXlibDisplayEXT(
31     VkPhysicalDevice                            physicalDevice,
32     Display*                                    dpy,
33     VkDisplayKHR                                display);
34 
35 VKAPI_ATTR VkResult VKAPI_CALL vkGetRandROutputDisplayEXT(
36     VkPhysicalDevice                            physicalDevice,
37     Display*                                    dpy,
38     RROutput                                    rrOutput,
39     VkDisplayKHR*                               pDisplay);
40 #endif
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
46 #endif
47