vkGetPhysicalDeviceUbmPresentationSupportSEC(3)

Name

vkGetPhysicalDeviceUbmPresentationSupportSEC - Query physical device for presentation to UBM

C Specification

To determine whether a queue family of a physical device supports presentation to a UBM compositor, call:

// Provided by VK_SEC_ubm_surface
VkBool32 vkGetPhysicalDeviceUbmPresentationSupportSEC(
    VkPhysicalDevice                            physicalDevice,
    uint32_t                                    queueFamilyIndex,
    struct ubm_device*                          device);

Parameters

  • physicalDevice is the physical device.

  • queueFamilyIndex is the queue family index.

  • device is a pointer to the ubm_device associated with a UBM compositor.

Description

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

Valid Usage
  • VUID-vkGetPhysicalDeviceUbmPresentationSupportSEC-device-12368
    device must point to a valid UBM ubm_device

  • VUID-vkGetPhysicalDeviceUbmPresentationSupportSEC-queueFamilyIndex-12369
    queueFamilyIndex must be less than pQueueFamilyPropertyCount returned by vkGetPhysicalDeviceQueueFamilyProperties for the given physicalDevice

Valid Usage (Implicit)
  • VUID-vkGetPhysicalDeviceUbmPresentationSupportSEC-physicalDevice-parameter
    physicalDevice must be a valid VkPhysicalDevice handle

  • VUID-vkGetPhysicalDeviceUbmPresentationSupportSEC-device-parameter
    device must be a valid pointer to a ubm_device value

Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.