1b8e80941Smrg#ifndef VULKAN_XLIB_RANDR_H_ 2b8e80941Smrg#define VULKAN_XLIB_RANDR_H_ 1 3b8e80941Smrg 4b8e80941Smrg#ifdef __cplusplus 5b8e80941Smrgextern "C" { 6b8e80941Smrg#endif 7b8e80941Smrg 8b8e80941Smrg/* 9b8e80941Smrg** Copyright (c) 2015-2017 The Khronos Group Inc. 10b8e80941Smrg** 11b8e80941Smrg** Licensed under the Apache License, Version 2.0 (the "License"); 12b8e80941Smrg** you may not use this file except in compliance with the License. 13b8e80941Smrg** You may obtain a copy of the License at 14b8e80941Smrg** 15b8e80941Smrg** http://www.apache.org/licenses/LICENSE-2.0 16b8e80941Smrg** 17b8e80941Smrg** Unless required by applicable law or agreed to in writing, software 18b8e80941Smrg** distributed under the License is distributed on an "AS IS" BASIS, 19b8e80941Smrg** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 20b8e80941Smrg** See the License for the specific language governing permissions and 21b8e80941Smrg** limitations under the License. 22b8e80941Smrg*/ 23b8e80941Smrg 24b8e80941Smrg/* 25b8e80941Smrg** This header is generated from the Khronos Vulkan XML API Registry. 26b8e80941Smrg** 27b8e80941Smrg*/ 28b8e80941Smrg 29b8e80941Smrg 30b8e80941Smrg#define VK_EXT_acquire_xlib_display 1 31b8e80941Smrg#define VK_EXT_ACQUIRE_XLIB_DISPLAY_SPEC_VERSION 1 32b8e80941Smrg#define VK_EXT_ACQUIRE_XLIB_DISPLAY_EXTENSION_NAME "VK_EXT_acquire_xlib_display" 33b8e80941Smrg 34b8e80941Smrgtypedef VkResult (VKAPI_PTR *PFN_vkAcquireXlibDisplayEXT)(VkPhysicalDevice physicalDevice, Display* dpy, VkDisplayKHR display); 35b8e80941Smrgtypedef VkResult (VKAPI_PTR *PFN_vkGetRandROutputDisplayEXT)(VkPhysicalDevice physicalDevice, Display* dpy, RROutput rrOutput, VkDisplayKHR* pDisplay); 36b8e80941Smrg 37b8e80941Smrg#ifndef VK_NO_PROTOTYPES 38b8e80941SmrgVKAPI_ATTR VkResult VKAPI_CALL vkAcquireXlibDisplayEXT( 39b8e80941Smrg VkPhysicalDevice physicalDevice, 40b8e80941Smrg Display* dpy, 41b8e80941Smrg VkDisplayKHR display); 42b8e80941Smrg 43b8e80941SmrgVKAPI_ATTR VkResult VKAPI_CALL vkGetRandROutputDisplayEXT( 44b8e80941Smrg VkPhysicalDevice physicalDevice, 45b8e80941Smrg Display* dpy, 46b8e80941Smrg RROutput rrOutput, 47b8e80941Smrg VkDisplayKHR* pDisplay); 48b8e80941Smrg#endif 49b8e80941Smrg 50b8e80941Smrg#ifdef __cplusplus 51b8e80941Smrg} 52b8e80941Smrg#endif 53b8e80941Smrg 54b8e80941Smrg#endif 55