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

#include <vulkanserverbufferintegration.h>

+ Inheritance diagram for QtWaylandClient::VulkanServerBufferIntegration:
+ Collaboration diagram for QtWaylandClient::VulkanServerBufferIntegration:

Public Member Functions

void initialize (QWaylandDisplay *display) override
 
QWaylandServerBufferserverBuffer (struct qt_server_buffer *buffer) override
 
void deleteGLTextureWhenPossible (QOpenGLTexture *texture)
 
void deleteOrphanedTextures ()
 
- Public Member Functions inherited from QtWaylandClient::QWaylandServerBufferIntegration
 QWaylandServerBufferIntegration ()
 
virtual ~QWaylandServerBufferIntegration ()
 

Protected Member Functions

void zqt_vulkan_server_buffer_v1_server_buffer_created (qt_server_buffer *id, int32_t fd, uint32_t width, uint32_t height, uint32_t memory_size, uint32_t format) override
 

Detailed Description

Definition at line 40 of file vulkanserverbufferintegration.h.

Member Function Documentation

◆ deleteGLTextureWhenPossible()

void QtWaylandClient::VulkanServerBufferIntegration::deleteGLTextureWhenPossible ( QOpenGLTexture * texture)
inline

Definition at line 49 of file vulkanserverbufferintegration.h.

Referenced by QtWaylandClient::VulkanServerBuffer::~VulkanServerBuffer().

+ Here is the caller graph for this function:

◆ deleteOrphanedTextures()

void VulkanServerBufferIntegration::deleteOrphanedTextures ( )

Definition at line 165 of file vulkanserverbufferintegration.cpp.

References QList< T >::clear(), QOpenGLContext::currentContext(), qDeleteAll(), and qWarning.

Referenced by QtWaylandClient::VulkanServerBuffer::toOpenGlTexture().

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

◆ initialize()

void VulkanServerBufferIntegration::initialize ( QWaylandDisplay * display)
overridevirtual

◆ serverBuffer()

QWaylandServerBuffer * VulkanServerBufferIntegration::serverBuffer ( struct qt_server_buffer * buffer)
overridevirtual

◆ zqt_vulkan_server_buffer_v1_server_buffer_created()

void VulkanServerBufferIntegration::zqt_vulkan_server_buffer_v1_server_buffer_created ( qt_server_buffer * id,
int32_t fd,
uint32_t width,
uint32_t height,
uint32_t memory_size,
uint32_t format )
overrideprotected

Definition at line 158 of file vulkanserverbufferintegration.cpp.

References qDebug, and QtWaylandClient::sbiExtraDebug.


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