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