Vulkan-Docs/chapters/VK_EXT_direct_mode_display/acquire_release_displays.txt

25 lines
831 B
Plaintext

==== Acquiring and Releasing Displays
On some platforms, access to displays is limited to a single process or
native driver instance.
On such platforms, some or all of the displays may not be available to
Vulkan if they are already in use by a native windowing system or other
application.
ifdef::VK_EXT_acquire_xlib_display[]
include::../VK_EXT_acquire_xlib_display/acquire_xlib_display.txt[]
endif::VK_EXT_acquire_xlib_display[]
[open,refpage='vkReleaseDisplayEXT',desc='Release access to an acquired VkDisplayKHR',type='protos']
--
To release a previously acquired display, call:
include::{generated}/api/protos/vkReleaseDisplayEXT.txt[]
* pname:physicalDevice The physical device the display is on.
* pname:display The display to release control of.
include::{generated}/validity/protos/vkReleaseDisplayEXT.txt[]
--