To determine whether a queue family of a physical device supports presentation to an X11 server, using the XCB client-side library, call:
// Provided by VK_KHR_xcb_surface VkBool32 vkGetPhysicalDeviceXcbPresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, xcb_connection_t* connection, xcb_visualid_t visual_id);
physicalDeviceis the physical device.
queueFamilyIndexis the queue family index.
connectionis a pointer to an
xcb_connection_tto the X server.
visual_idis an X11 visual (
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.