1// Copyright 2014-2023 The Khronos Group Inc.
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5[[platformQuerySupport_directfb]]
6=== DirectFB Platform
7
8[open,refpage='vkGetPhysicalDeviceDirectFBPresentationSupportEXT',desc='Query physical device for presentation with DirectFB',type='protos']
9--
10To determine whether a queue family of a physical device supports
11presentation with DirectFB library, call:
12
13include::{generated}/api/protos/vkGetPhysicalDeviceDirectFBPresentationSupportEXT.adoc[]
14
15  * pname:physicalDevice is the physical device.
16  * pname:queueFamilyIndex is the queue family index.
17  * pname:dfb is a pointer to the code:IDirectFB main interface of DirectFB.
18
19This platform-specific function can: be called prior to creating a surface.
20
21.Valid Usage
22****
23  * [[VUID-vkGetPhysicalDeviceDirectFBPresentationSupportEXT-queueFamilyIndex-04119]]
24    pname:queueFamilyIndex must: be less than
25    pname:pQueueFamilyPropertyCount returned by
26    fname:vkGetPhysicalDeviceQueueFamilyProperties for the given
27    pname:physicalDevice
28****
29
30include::{generated}/validity/protos/vkGetPhysicalDeviceDirectFBPresentationSupportEXT.adoc[]
31--
32