Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
VulkanWrapperPrivate Class Reference
+ Collaboration diagram for VulkanWrapperPrivate:

Public Member Functions

 VulkanWrapperPrivate (QOpenGLContext *glContext)
 
VulkanImageWrappercreateTextureImage (const QImage &img)
 
VulkanImageWrappercreateTextureImageFromData (const uchar *pixels, uint bufferSize, const QSize &size, VkFormat vkFormat)
 
void freeTextureImage (VulkanImageWrapper *imageWrapper)
 

Detailed Description

Definition at line 44 of file vulkanwrapper.cpp.

Constructor & Destructor Documentation

◆ VulkanWrapperPrivate()

VulkanWrapperPrivate::VulkanWrapperPrivate ( QOpenGLContext glContext)
explicit

Definition at line 542 of file vulkanwrapper.cpp.

References QVarLengthArray< T, Prealloc >::data(), QOpenGLContext::getProcAddress(), hex, i, ok, qCritical, qDebug, and vwExtraDebug.

+ Here is the call graph for this function:

Member Function Documentation

◆ createTextureImage()

VulkanImageWrapper * VulkanWrapperPrivate::createTextureImage ( const QImage img)

Definition at line 472 of file vulkanwrapper.cpp.

References createTextureImageFromData().

Referenced by VulkanWrapper::createTextureImage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createTextureImageFromData()

VulkanImageWrapper * VulkanWrapperPrivate::createTextureImageFromData ( const uchar pixels,
uint  bufferSize,
const QSize size,
VkFormat  vkFormat 
)

Definition at line 477 of file vulkanwrapper.cpp.

References ok, qCritical, qDebug, and vwExtraDebug.

Referenced by createTextureImage(), and VulkanWrapper::createTextureImageFromData().

+ Here is the caller graph for this function:

◆ freeTextureImage()

void VulkanWrapperPrivate::freeTextureImage ( VulkanImageWrapper imageWrapper)

Definition at line 529 of file vulkanwrapper.cpp.

References VulkanImageWrapper::imgFd, VulkanImageWrapper::textureImage, and VulkanImageWrapper::textureImageMemory.

Referenced by VulkanWrapper::freeTextureImage().

+ Here is the caller graph for this function:

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