vulkan_xlib_xrandr.h 1.8 KB

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