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::VulkanServerBuffer Class Reference

#include <vulkanserverbufferintegration.h>

+ Inheritance diagram for QtWaylandClient::VulkanServerBuffer:
+ Collaboration diagram for QtWaylandClient::VulkanServerBuffer:

Public Member Functions

 VulkanServerBuffer (VulkanServerBufferIntegration *integration, struct ::qt_server_buffer *id, int32_t fd, uint32_t width, uint32_t height, uint32_t memory_size, uint32_t format)
 
 ~VulkanServerBuffer () override
 
QOpenGLTexturetoOpenGlTexture () override
 
- Public Member Functions inherited from QtWaylandClient::QWaylandServerBuffer
 QWaylandServerBuffer ()
 
virtual ~QWaylandServerBuffer ()
 
Format format () const
 
QSize size () const
 
void setUserData (void *userData)
 
voiduserData () const
 

Additional Inherited Members

- Public Types inherited from QtWaylandClient::QWaylandServerBuffer
enum  Format { RGBA32 , A8 , Custom }
 
- Protected Attributes inherited from QtWaylandClient::QWaylandServerBuffer
Format m_format = RGBA32
 
QSize m_size
 

Detailed Description

Definition at line 21 of file vulkanserverbufferintegration.h.

Constructor & Destructor Documentation

◆ VulkanServerBuffer()

VulkanServerBuffer::VulkanServerBuffer ( VulkanServerBufferIntegration * integration,
struct ::qt_server_buffer * id,
int32_t fd,
uint32_t width,
uint32_t height,
uint32_t memory_size,
uint32_t format )

◆ ~VulkanServerBuffer()

VulkanServerBuffer::~VulkanServerBuffer ( )
override

Definition at line 83 of file vulkanserverbufferintegration.cpp.

References QCoreApplication::closingDown(), QtWaylandClient::VulkanServerBufferIntegration::deleteGLTextureWhenPossible(), QtWaylandClient::funcs, qDebug, and QtWaylandClient::sbiExtraDebug.

+ Here is the call graph for this function:

Member Function Documentation

◆ toOpenGlTexture()

QOpenGLTexture * VulkanServerBuffer::toOpenGlTexture ( )
overridevirtual

Implements QtWaylandClient::QWaylandServerBuffer.

Definition at line 130 of file vulkanserverbufferintegration.cpp.

References QtWaylandClient::VulkanServerBufferIntegration::deleteOrphanedTextures().

+ Here is the call graph for this function:

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