![]() |
Qt 6.x
The Qt SDK
|
#include <shmserverbufferintegration.h>
Inheritance diagram for QtWaylandClient::ShmServerBuffer:
Collaboration diagram for QtWaylandClient::ShmServerBuffer:Public Member Functions | |
| ShmServerBuffer (const QString &key, const QSize &size, int bytesPerLine, QWaylandServerBuffer::Format format) | |
| ~ShmServerBuffer () override | |
| QOpenGLTexture * | toOpenGlTexture () override |
Public Member Functions inherited from QtWaylandClient::QWaylandServerBuffer | |
| QWaylandServerBuffer () | |
| virtual | ~QWaylandServerBuffer () |
| virtual QOpenGLTexture * | toOpenGlTexture ()=0 |
| Format | format () const |
| QSize | size () const |
| void | setUserData (void *userData) |
| void * | userData () 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 |
Definition at line 21 of file shmserverbufferintegration.h.
| ShmServerBuffer::ShmServerBuffer | ( | const QString & | key, |
| const QSize & | size, | ||
| int | bytesPerLine, | ||
| QWaylandServerBuffer::Format | format | ||
| ) |
Definition at line 56 of file shmserverbufferintegration.cpp.
References QtWaylandClient::QWaylandServerBuffer::format(), QtWaylandClient::QWaylandServerBuffer::m_format, QtWaylandClient::QWaylandServerBuffer::m_size, and QtWaylandClient::QWaylandServerBuffer::size().
Here is the call graph for this function:
|
override |
Definition at line 64 of file shmserverbufferintegration.cpp.
|
overridevirtual |
Implements QtWaylandClient::QWaylandServerBuffer.
Definition at line 68 of file shmserverbufferintegration.cpp.
References createTextureFromShm(), QSize::height(), QtWaylandClient::QWaylandServerBuffer::m_format, QtWaylandClient::QWaylandServerBuffer::m_size, and QSize::width().
Here is the call graph for this function: