Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtWaylandClient::QWaylandVulkanInstance Class Reference

#include <qwaylandvulkaninstance_p.h>

+ Inheritance diagram for QtWaylandClient::QWaylandVulkanInstance:
+ Collaboration diagram for QtWaylandClient::QWaylandVulkanInstance:

Public Member Functions

 QWaylandVulkanInstance (QVulkanInstance *instance)
 
 ~QWaylandVulkanInstance () override
 
void createOrAdoptInstance () override
 
bool supportsPresent (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, QWindow *window) override
 
void presentAboutToBeQueued (QWindow *window) override
 
VkSurfaceKHR createSurface (QWaylandWindow *window)
 
void beginFrame (QWindow *window) override
 
void endFrame (QWindow *window) override
 
- Public Member Functions inherited from QBasicPlatformVulkanInstance
 QBasicPlatformVulkanInstance ()
 
 ~QBasicPlatformVulkanInstance ()
 
QVulkanInfoVector< QVulkanLayersupportedLayers () const override
 
QVulkanInfoVector< QVulkanExtensionsupportedExtensions () const override
 
QVersionNumber supportedApiVersion () const override
 
bool isValid () const override
 
VkResult errorCode () const override
 
VkInstance vkInstance () const override
 
QByteArrayList enabledLayers () const override
 
QByteArrayList enabledExtensions () const override
 
PFN_vkVoidFunction getInstanceProcAddr (const char *name) override
 
bool supportsPresent (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, QWindow *window) override
 
void setDebugFilters (const QList< QVulkanInstance::DebugFilter > &filters) override
 
void setDebugUtilsFilters (const QList< QVulkanInstance::DebugUtilsFilter > &filters) override
 
void destroySurface (VkSurfaceKHR surface) const
 
const QList< QVulkanInstance::DebugFilter > * debugFilters () const
 
const QList< QVulkanInstance::DebugUtilsFilter > * debugUtilsFilters () const
 

Additional Inherited Members

- Protected Member Functions inherited from QBasicPlatformVulkanInstance
void loadVulkanLibrary (const QString &defaultLibraryName, int defaultLibraryVersion=-1)
 
void init (QLibrary *lib)
 
void initInstance (QVulkanInstance *instance, const QByteArrayList &extraExts)
 
- Protected Attributes inherited from QBasicPlatformVulkanInstance
VkInstance m_vkInst = VK_NULL_HANDLE
 
PFN_vkGetInstanceProcAddr m_vkGetInstanceProcAddr = nullptr
 
PFN_vkGetPhysicalDeviceSurfaceSupportKHR m_getPhysDevSurfaceSupport
 
PFN_vkDestroySurfaceKHR m_destroySurface
 

Detailed Description

Definition at line 33 of file qwaylandvulkaninstance_p.h.

Constructor & Destructor Documentation

◆ QWaylandVulkanInstance()

QtWaylandClient::QWaylandVulkanInstance::QWaylandVulkanInstance ( QVulkanInstance * instance)
explicit

Definition at line 13 of file qwaylandvulkaninstance.cpp.

References QBasicPlatformVulkanInstance::loadVulkanLibrary(), and QStringLiteral.

+ Here is the call graph for this function:

◆ ~QWaylandVulkanInstance()

QtWaylandClient::QWaylandVulkanInstance::~QWaylandVulkanInstance ( )
overridedefault

Member Function Documentation

◆ beginFrame()

void QtWaylandClient::QWaylandVulkanInstance::beginFrame ( QWindow * window)
override

Definition at line 104 of file qwaylandvulkaninstance.cpp.

References qWarning, and window().

+ Here is the call graph for this function:

◆ createOrAdoptInstance()

void QtWaylandClient::QWaylandVulkanInstance::createOrAdoptInstance ( )
override

Definition at line 21 of file qwaylandvulkaninstance.cpp.

References QBasicPlatformVulkanInstance::initInstance(), QBasicPlatformVulkanInstance::m_vkGetInstanceProcAddr, QBasicPlatformVulkanInstance::m_vkInst, QByteArrayLiteral, and qWarning.

+ Here is the call graph for this function:

◆ createSurface()

VkSurfaceKHR QtWaylandClient::QWaylandVulkanInstance::createSurface ( QWaylandWindow * window)

Definition at line 59 of file qwaylandvulkaninstance.cpp.

References QBasicPlatformVulkanInstance::m_vkGetInstanceProcAddr, QBasicPlatformVulkanInstance::m_vkInst, qWarning, and window().

+ Here is the call graph for this function:

◆ endFrame()

void QtWaylandClient::QWaylandVulkanInstance::endFrame ( QWindow * window)
override

Definition at line 114 of file qwaylandvulkaninstance.cpp.

References qWarning, and window().

+ Here is the call graph for this function:

◆ presentAboutToBeQueued()

void QtWaylandClient::QWaylandVulkanInstance::presentAboutToBeQueued ( QWindow * window)
override

Definition at line 84 of file qwaylandvulkaninstance.cpp.

References ok, qEnvironmentVariableIntValue(), qWarning, and window().

+ Here is the call graph for this function:

◆ supportsPresent()

bool QtWaylandClient::QWaylandVulkanInstance::supportsPresent ( VkPhysicalDevice physicalDevice,
uint32_t queueFamilyIndex,
QWindow * window )
override

Definition at line 36 of file qwaylandvulkaninstance.cpp.

References QBasicPlatformVulkanInstance::m_getPhysDevSurfaceSupport, ok, qWarning, and window().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: