acquireXlibDisplayEXT :: MonadIO io=> PhysicalDevicephysicalDeviceThe physical device the display is on.physicalDevicemust be a valid PhysicalDevice handle->"dpy"
::: Ptr DisplaydpyA connection to the X11 server that currently ownsdisplay.dpymust be a valid pointer to a Display value-> DisplayKHRdisplayThe display the caller wishes to control in Vulkan.displaymust be a valid DisplayKHR handledisplaymust have been created, allocated, or retrieved fromphysicalDevice-> io ()
vkAcquireXlibDisplayEXT - Acquire access to a VkDisplayKHR using Xlib
Description
All permissions necessary to control the display are granted to the
Vulkan instance associated with physicalDevice until the display is
released or the X11 connection specified by dpy is terminated.
Permission to access the display may be temporarily revoked during
periods when the X11 server from which control was acquired itself loses
access to display. During such periods, operations which require
access to the display must fail with an appropriate error code. If the
X11 server associated with dpy does not own display, or if
permission to access it has already been acquired by another entity, the
call must return the error code
ERROR_INITIALIZATION_FAILED.
One example of when an X11 server loses access to a display is when it loses ownership of its virtual terminal.