Vulkan-Docs/chapters/VK_EXT_direct_mode_display/acquire_release_displays.txt
Jon Leech 9a8314cd41 Restructure the repository to put the specification Makefile and
associated material at the top level, vk.xml and associated material in
xml/, and generated include and source files in include/vulkan/ and
src/ext_loader/, respectively (public issue 436).
2018-04-04 23:08:43 -07:00

25 lines
819 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::../../api/protos/vkReleaseDisplayEXT.txt[]
* pname:physicalDevice The physical device the display is on.
* pname:display The display to release control of.
include::../../validity/protos/vkReleaseDisplayEXT.txt[]
--