• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2014-2021 The Khronos Group, Inc.
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5[[platformQuerySupport_walyand,platformQuerySupport_walyand]]
6
7=== Wayland Platform
8
9[open,refpage='vkGetPhysicalDeviceWaylandPresentationSupportKHR',desc='Query physical device for presentation to Wayland',type='protos']
10--
11To determine whether a queue family of a physical device supports
12presentation to a Wayland compositor, call:
13
14include::{generated}/api/protos/vkGetPhysicalDeviceWaylandPresentationSupportKHR.txt[]
15
16  * pname:physicalDevice is the physical device.
17  * pname:queueFamilyIndex is the queue family index.
18  * pname:display is a pointer to the code:wl_display associated with a
19    Wayland compositor.
20
21This platform-specific function can: be called prior to creating a surface.
22
23.Valid Usage
24****
25  * [[VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-queueFamilyIndex-01306]]
26    pname:queueFamilyIndex must: be less than
27    pname:pQueueFamilyPropertyCount returned by
28    fname:vkGetPhysicalDeviceQueueFamilyProperties for the given
29    pname:physicalDevice
30****
31
32include::{generated}/validity/protos/vkGetPhysicalDeviceWaylandPresentationSupportKHR.txt[]
33--
34