Check if display is available for Vulkan.
authorSai Kiran Korwar <skirank@nvidia.com>
Wed, 19 Feb 2020 08:53:39 +0000 (14:23 +0530)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 27 Feb 2020 11:20:13 +0000 (06:20 -0500)
commit607b7688b9b49c002e40e1d2245997e7c8d5b7cf
tree6a78a3c44dc1b025cb4c53af9b3a928a90ed4033
parentc57424c14064bbd300d587802bfbbd810785e946
Check if display is available for Vulkan.

If the display is already being used by native windowing system,
then it may not be available to Vulkan, which may cause the test
to fail.
To account for this, check if any windowing system is already present
and running and then report the test to be unsupported.
Since the extension is meant to support direct rendering to display,
avoid running it when a windowing system is present.

Components: Vulkan

VK-GL-CTS issue: #2230

Affects:
dEQP-VK.wsi.display_control.swapchain_counter

Change-Id: I7fd00b417021e4a2ef017b742e529f5a3917a056
(cherry picked from commit 5318e8023d181def3d6affe446ab251f9898737e)
external/vulkancts/modules/vulkan/wsi/vktWsiDisplayControlTests.cpp