summaryrefslogtreecommitdiff
path: root/chapters/VK_EXT_directfb_surface/platformQuerySupport_directfb.adoc
blob: 773698a23075c3809c5e7ad4066b82d32214eb4b (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
// Copyright 2014-2023 The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0

[[platformQuerySupport_directfb]]
=== DirectFB Platform

[open,refpage='vkGetPhysicalDeviceDirectFBPresentationSupportEXT',desc='Query physical device for presentation with DirectFB',type='protos']
--
To determine whether a queue family of a physical device supports
presentation with DirectFB library, call:

include::{generated}/api/protos/vkGetPhysicalDeviceDirectFBPresentationSupportEXT.adoc[]

  * pname:physicalDevice is the physical device.
  * pname:queueFamilyIndex is the queue family index.
  * pname:dfb is a pointer to the code:IDirectFB main interface of DirectFB.

This platform-specific function can: be called prior to creating a surface.

.Valid Usage
****
  * [[VUID-vkGetPhysicalDeviceDirectFBPresentationSupportEXT-queueFamilyIndex-04119]]
    pname:queueFamilyIndex must: be less than
    pname:pQueueFamilyPropertyCount returned by
    fname:vkGetPhysicalDeviceQueueFamilyProperties for the given
    pname:physicalDevice
****

include::{generated}/validity/protos/vkGetPhysicalDeviceDirectFBPresentationSupportEXT.adoc[]
--