4#ifndef QWAYLANDVULKANINSTANCE_P_H
5#define QWAYLANDVULKANINSTANCE_P_H
18#if defined(VULKAN_H_) && !defined(VK_USE_PLATFORM_WAYLAND_KHR)
19#error "vulkan.h included without Wayland WSI"
22#define VK_USE_PLATFORM_WAYLAND_KHR
24#include <QtGui/private/qbasicvulkanplatforminstance_p.h>
50 PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR m_getPhysDevPresSupport =
nullptr;
51 PFN_vkCreateWaylandSurfaceKHR m_createSurface =
nullptr;
52 int mFrameCallbackTimeout = 100;
The QVulkanInstance class represents a native Vulkan instance, enabling Vulkan rendering onto a QSurf...
void createOrAdoptInstance() override
VkSurfaceKHR createSurface(QWaylandWindow *window)
void beginFrame(QWindow *window) override
QWaylandVulkanInstance(QVulkanInstance *instance)
void presentAboutToBeQueued(QWindow *window) override
void endFrame(QWindow *window) override
~QWaylandVulkanInstance() override
bool supportsPresent(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, QWindow *window) override
Combined button and popup list for selecting options.