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