VK_KHR_xcb_surface extension is an instance extension. It provides a mechanism to create a VkSurfaceKHR object (defined by the VK_KHR_surface extension) that refers to an X11 Window, using the XCB client-side library, as well as a query to determine support for rendering via XCB.
VK_KHR_xcb_surfaceVK_KHR_surface| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_XCB_SURFACE_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_XCB_SURFACE_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkCreateXcbSurfaceKHR(VkInstance instance, long pCreateInfo, long pAllocator, long pSurface)
Unsafe version of: |
| public static int | vkCreateXcbSurfaceKHR(VkInstance
the instance to associate the surface with. instance, VkXcbSurfaceCreateInfoKHR a pointer to a pCreateInfo, VkAllocationCallbacks VkXcbSurfaceCreateInfoKHR structure containing parameters affecting the creation of the surface object.the allocator used for host memory allocated for the surface object when there is no more specific allocator available (see Memory Allocation). pAllocator, LongBuffer a pointer to a pSurface)VkSurfaceKHR handle in which the created surface object is returned.Create a |
| public static int | vkCreateXcbSurfaceKHR(VkInstance instance, VkXcbSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks pAllocator, long[] pSurface)
Array version of: |
| public static boolean | vkGetPhysicalDeviceXcbPresentationSupportKHR(VkPhysicalDevice
the physical device. physicalDevice, int the queue family index. queueFamilyIndex, long a pointer to an connection, int xcb_connection_t to the X server.an X11 visual ( visual_id)xcb_visualid_t).Query physical device for presentation to X11 server using XCB. |
| VK_KHR_XCB_SURFACE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_XCB_SURFACE_EXTENSION_NAME The extension name. | |
| VK_KHR_XCB_SURFACE_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_XCB_SURFACE_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR Extends | |
| KHRXcbSurface | back to summary |
|---|---|
| protected KHRXcbSurface() | |
| nvkCreateXcbSurfaceKHR | back to summary |
|---|---|
| public static int nvkCreateXcbSurfaceKHR(VkInstance instance, long pCreateInfo, long pAllocator, long pSurface) Unsafe version of: | |
| vkCreateXcbSurfaceKHR | back to summary |
|---|---|
| public static int vkCreateXcbSurfaceKHR(VkInstance instance, VkXcbSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks pAllocator, LongBuffer pSurface) Create a C SpecificationTo create a
Valid Usage (Implicit)
Return Codes
See Also
| |
| vkCreateXcbSurfaceKHR | back to summary |
|---|---|
| public static int vkCreateXcbSurfaceKHR(VkInstance instance, VkXcbSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks pAllocator, long[] pSurface) Array version of:
| |
| vkGetPhysicalDeviceXcbPresentationSupportKHR | back to summary |
|---|---|
| public static boolean vkGetPhysicalDeviceXcbPresentationSupportKHR(VkPhysicalDevice physicalDevice, int queueFamilyIndex, long connection, int visual_id) Query physical device for presentation to X11 server using XCB. C SpecificationTo determine whether a queue family of a physical device supports presentation to an X11 server, using the XCB client-side library, call:
DescriptionThis platform-specific function can be called prior to creating a surface. Valid Usage
Valid Usage (Implicit)
| |