4#ifndef QXCBVULKANINSTANCE_H
5#define QXCBVULKANINSTANCE_H
7#if defined(VULKAN_H_) && !defined(VK_USE_PLATFORM_XCB_KHR)
8#error "vulkan.h included without xcb WSI"
11#define VK_USE_PLATFORM_XCB_KHR
13#include <QtGui/private/qbasicvulkanplatforminstance_p.h>
34 PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR m_getPhysDevPresSupport;
35 PFN_vkCreateXcbSurfaceKHR m_createSurface;
The QVulkanInstance class represents a native Vulkan instance, enabling Vulkan rendering onto a QSurf...
VkSurfaceKHR createSurface(QXcbWindow *window)
void createOrAdoptInstance() override
void presentQueued(QWindow *window) override
bool supportsPresent(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, QWindow *window) override
Combined button and popup list for selecting options.