blob: e9559364a8dbe7201b0cf62b8976cf1ec8c1133a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright 2014-2023 The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0
[[platformQuerySupport_xlib]]
=== Xlib Platform
[open,refpage='vkGetPhysicalDeviceXlibPresentationSupportKHR',desc='Query physical device for presentation to X11 server using Xlib',type='protos']
--
To determine whether a queue family of a physical device supports
presentation to an X11 server, using the Xlib client-side library, call:
include::{generated}/api/protos/vkGetPhysicalDeviceXlibPresentationSupportKHR.adoc[]
* pname:physicalDevice is the physical device.
* pname:queueFamilyIndex is the queue family index.
* pname:dpy is a pointer to an Xlib code:Display connection to the server.
* pname:visualId is an X11 visual (code:VisualID).
This platform-specific function can: be called prior to creating a surface.
.Valid Usage
****
* [[VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-queueFamilyIndex-01315]]
pname:queueFamilyIndex must: be less than
pname:pQueueFamilyPropertyCount returned by
fname:vkGetPhysicalDeviceQueueFamilyProperties for the given
pname:physicalDevice
****
include::{generated}/validity/protos/vkGetPhysicalDeviceXlibPresentationSupportKHR.adoc[]
--
|