Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
VulkanWrapper Class Reference

#include <vulkanwrapper.h>

Collaboration diagram for VulkanWrapper:

Public Member Functions

 VulkanWrapper (QOpenGLContext *glContext)
VulkanImageWrappercreateTextureImage (const QImage &img)
VulkanImageWrappercreateTextureImageFromData (const uchar *pixels, uint bufferSize, const QSize &size, uint glInternalFormat)
int getImageInfo (const VulkanImageWrapper *imgWrapper, int *memSize, int *w=nullptr, int *h=nullptr)
void freeTextureImage (VulkanImageWrapper *imageWrapper)

Detailed Description

Definition at line 18 of file vulkanwrapper.h.

Constructor & Destructor Documentation

◆ VulkanWrapper()

VulkanWrapper::VulkanWrapper ( QOpenGLContext * glContext)

Definition at line 661 of file vulkanwrapper.cpp.

References VulkanWrapperPrivate::VulkanWrapperPrivate().

Referenced by VulkanServerBufferIntegration::createServerBufferFromData(), and VulkanServerBufferIntegration::createServerBufferFromImage().

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

Member Function Documentation

◆ createTextureImage()

VulkanImageWrapper * VulkanWrapper::createTextureImage ( const QImage & img)

Definition at line 666 of file vulkanwrapper.cpp.

References VulkanWrapperPrivate::createTextureImage().

Referenced by VulkanServerBuffer::VulkanServerBuffer().

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

◆ createTextureImageFromData()

VulkanImageWrapper * VulkanWrapper::createTextureImageFromData ( const uchar * pixels,
uint bufferSize,
const QSize & size,
uint glInternalFormat )

Definition at line 671 of file vulkanwrapper.cpp.

◆ freeTextureImage()

void VulkanWrapper::freeTextureImage ( VulkanImageWrapper * imageWrapper)

Definition at line 691 of file vulkanwrapper.cpp.

References VulkanWrapperPrivate::freeTextureImage().

Referenced by VulkanServerBuffer::~VulkanServerBuffer().

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

◆ getImageInfo()

int VulkanWrapper::getImageInfo ( const VulkanImageWrapper * imgWrapper,
int * memSize,
int * w = nullptr,
int * h = nullptr )

Definition at line 680 of file vulkanwrapper.cpp.

References VulkanImageWrapper::imgFd, and VulkanImageWrapper::imgMemSize.

Referenced by VulkanServerBuffer::VulkanServerBuffer(), and VulkanServerBuffer::VulkanServerBuffer().

Here is the caller graph for this function:

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