Function Prototype
vkGetPhysicalDeviceXlibPresentationSupportKHR
Query physical device for presentation to X11 server using Xlib
To determine whether a queue family of a physical device supports presentation to an X11 server, using the Xlib client-side library, call:
VkBool32 vkGetPhysicalDeviceXlibPresentationSupportKHR(
VkPhysicalDevice physicalDevice,
uint32_t queueFamilyIndex,
Display* dpy,
VisualID visualID);
physicalDeviceis the physical device.queueFamilyIndexis the queue family index.dpyis a pointer to an XlibDisplayconnection to the server.visualIDis an X11 visual (VisualID).
This platform-specific function can be called prior to creating a surface.
Valid Usage
VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-queueFamilyIndex-01315
queueFamilyIndex must be less than
pQueueFamilyPropertyCount returned by
vkGetPhysicalDeviceQueueFamilyProperties for the given
physicalDevice
Valid Usage (Implicit)
VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-physicalDevice-parameter
physicalDevice must be a valid VkPhysicalDevice handle
VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-dpy-parameter
dpy must be a valid pointer to a Display value