![]() |
Qt 6.x
The Qt SDK
|
#include <vulkanserverbufferintegration.h>
Inheritance diagram for VulkanServerBuffer:
Collaboration diagram for VulkanServerBuffer:Public Member Functions | |
| VulkanServerBuffer (VulkanServerBufferIntegration *integration, const QImage &qimage, QtWayland::ServerBuffer::Format format) | |
| VulkanServerBuffer (VulkanServerBufferIntegration *integration, VulkanImageWrapper *vImage, uint glInternalFormat, const QSize &size) | |
| ~VulkanServerBuffer () override | |
| struct::wl_resource * | resourceForClient (struct ::wl_client *) override |
| bool | bufferInUse () override |
| QOpenGLTexture * | toOpenGlTexture () override |
| void | releaseOpenGlTexture () override |
Public Member Functions inherited from QtWayland::ServerBuffer | |
| ServerBuffer (const QSize &size, ServerBuffer::Format format) | |
| virtual | ~ServerBuffer () |
| virtual struct::wl_resource * | resourceForClient (struct ::wl_client *)=0 |
| virtual bool | bufferInUse () |
| virtual QOpenGLTexture * | toOpenGlTexture ()=0 |
| virtual void | releaseOpenGlTexture () |
| virtual bool | isYInverted () const |
| QSize | size () const |
| Format | format () const |
Protected Member Functions | |
| void | server_buffer_release (Resource *resource) override |
Additional Inherited Members | |
Public Types inherited from QtWayland::ServerBuffer | |
| enum | Format { RGBA32 , A8 , Custom } |
Protected Attributes inherited from QtWayland::ServerBuffer | |
| QSize | m_size |
| Format | m_format |
Definition at line 25 of file vulkanserverbufferintegration.h.
| VulkanServerBuffer::VulkanServerBuffer | ( | VulkanServerBufferIntegration * | integration, |
| const QImage & | qimage, | ||
| QtWayland::ServerBuffer::Format | format | ||
| ) |
Definition at line 109 of file vulkanserverbufferintegration.cpp.
References QtWayland::ServerBuffer::format(), GL_RGBA8, QtWayland::ServerBuffer::m_format, qWarning, QtWayland::ServerBuffer::RGBA32, and VulkanServerBufferIntegration::vulkanWrapper().
Here is the call graph for this function:| VulkanServerBuffer::VulkanServerBuffer | ( | VulkanServerBufferIntegration * | integration, |
| VulkanImageWrapper * | vImage, | ||
| uint | glInternalFormat, | ||
| const QSize & | size | ||
| ) |
Definition at line 135 of file vulkanserverbufferintegration.cpp.
References VulkanServerBufferIntegration::vulkanWrapper().
Here is the call graph for this function:
|
override |
Definition at line 147 of file vulkanserverbufferintegration.cpp.
References VulkanWrapper::freeTextureImage(), and VulkanServerBufferIntegration::vulkanWrapper().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QtWayland::ServerBuffer.
Definition at line 223 of file vulkanserverbufferintegration.cpp.
References QOpenGLTexture::isCreated().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QtWayland::ServerBuffer.
Definition at line 212 of file vulkanserverbufferintegration.cpp.
References QOpenGLTexture::destroy(), funcs, and QOpenGLTexture::isCreated().
Here is the call graph for this function:
|
overridevirtual |
Implements QtWayland::ServerBuffer.
Definition at line 154 of file vulkanserverbufferintegration.cpp.
References add(), and qWarning.
Here is the call graph for this function:
|
overrideprotected |
Definition at line 228 of file vulkanserverbufferintegration.cpp.
References qCDebug.
|
overridevirtual |
Implements QtWayland::ServerBuffer.
Definition at line 171 of file vulkanserverbufferintegration.cpp.
References QOpenGLTexture::bind(), CurrentContext::context(), QOpenGLTexture::create(), VulkanServerBufferGlFunctions::create(), funcs, GL_HANDLE_TYPE_OPAQUE_FD_EXT, GL_RGBA8, GLuint, QSize::height(), Qt::hex(), QOpenGLTexture::isCreated(), QtWayland::ServerBuffer::m_size, qDebug, QOpenGLTexture::Target2D, QOpenGLTexture::textureId(), vsbiExtraDebug, and QSize::width().
Here is the call graph for this function: