VKGETPHYSICALDEVICEX(3)

NAME
vkGetPhysicalDeviceXlibPresentationSupportKHR - Query physical device for presentation to X11 server using Xlib

C SPECIFICATION

To determine whether a queue family of a physical device supports presentation to an X11 server, using the Xlib client-side library, call:

    VkBool32 vkGetPhysicalDeviceXlibPresentationSupportKHR(
        VkPhysicalDevice                            physicalDevice,
        uint32_t                                    queueFamilyIndex,
        Display*                                    dpy,
        VisualID                                    visualID);

PARAMETERS

    • physicalDevice is the physical device.

    • queueFamilyIndex is the queue family index.

    • dpy is a pointer to an Xlib Display connection to the server.

    • visualId is an X11 visual (VisualID).

DESCRIPTION

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

VALID USAGE

    • physicalDevice must be a valid VkPhysicalDevice handle

    • dpy must be a pointer to a Display value

    • queueFamilyIndex must be less than pQueueFamilyPropertyCount returned by vkGetPhysicalDeviceQueueFamilyProperties for the given physicalDevice

SEE ALSO

VkPhysicalDevice

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkGetPhysicalDeviceXlibPresentationSupportKHR

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

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.