1// Copyright 2018-2021 The Khronos Group, Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5==== Acquiring and Releasing Displays 6 7On some platforms, access to displays is limited to a single process or 8native driver instance. 9On such platforms, some or all of the displays may not be available to 10Vulkan if they are already in use by a native windowing system or other 11application. 12 13ifdef::VK_EXT_acquire_xlib_display[] 14include::{chapters}/VK_EXT_acquire_xlib_display/acquire_xlib_display.txt[] 15endif::VK_EXT_acquire_xlib_display[] 16 17ifdef::VK_NV_acquire_winrt_display[] 18include::{chapters}/VK_NV_acquire_winrt_display/acquire_winrt_display.txt[] 19endif::VK_NV_acquire_winrt_display[] 20 21ifdef::VK_EXT_acquire_drm_display[] 22include::{chapters}/VK_EXT_acquire_drm_display/acquire_drm_display.txt[] 23endif::VK_EXT_acquire_drm_display[] 24 25[open,refpage='vkReleaseDisplayEXT',desc='Release access to an acquired VkDisplayKHR',type='protos'] 26-- 27To release a previously acquired display, call: 28 29include::{generated}/api/protos/vkReleaseDisplayEXT.txt[] 30 31 * pname:physicalDevice The physical device the display is on. 32 * pname:display The display to release control of. 33 34include::{generated}/validity/protos/vkReleaseDisplayEXT.txt[] 35-- 36