25 lines
819 B
Plaintext
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[]
|
|
--
|