![]() |
Qt 6.x
The Qt SDK
|
#include <qwaylandserverbufferintegration_p.h>
Public Types | |
enum | Format { RGBA32 , A8 , Custom } |
Public Member Functions | |
QWaylandServerBuffer () | |
virtual | ~QWaylandServerBuffer () |
virtual QOpenGLTexture * | toOpenGlTexture ()=0 |
Format | format () const |
QSize | size () const |
void | setUserData (void *userData) |
void * | userData () const |
Protected Attributes | |
Format | m_format = RGBA32 |
QSize | m_size |
Definition at line 33 of file qwaylandserverbufferintegration_p.h.
Enumerator | |
---|---|
RGBA32 | |
A8 | |
Custom |
Definition at line 36 of file qwaylandserverbufferintegration_p.h.
QtWaylandClient::QWaylandServerBuffer::QWaylandServerBuffer | ( | ) |
Definition at line 10 of file qwaylandserverbufferintegration.cpp.
|
virtual |
Definition at line 14 of file qwaylandserverbufferintegration.cpp.
QWaylandServerBuffer::Format QtWaylandClient::QWaylandServerBuffer::format | ( | ) | const |
Definition at line 18 of file qwaylandserverbufferintegration.cpp.
References m_format.
Referenced by QtWaylandClient::ShmServerBuffer::ShmServerBuffer().
Definition at line 28 of file qwaylandserverbufferintegration.cpp.
References userData().
QSize QtWaylandClient::QWaylandServerBuffer::size | ( | ) | const |
Definition at line 23 of file qwaylandserverbufferintegration.cpp.
References m_size.
Referenced by QtWaylandClient::ShmServerBuffer::ShmServerBuffer().
|
pure virtual |
void * QtWaylandClient::QWaylandServerBuffer::userData | ( | ) | const |
Definition at line 33 of file qwaylandserverbufferintegration.cpp.
Referenced by setUserData().
Definition at line 54 of file qwaylandserverbufferintegration_p.h.
Referenced by QtWaylandClient::DrmServerBuffer::DrmServerBuffer(), QtWaylandClient::ShmServerBuffer::ShmServerBuffer(), format(), QtWaylandClient::LibHybrisServerBuffer::libhybris_buffer_add_fd(), and QtWaylandClient::ShmServerBuffer::toOpenGlTexture().
|
protected |
Definition at line 55 of file qwaylandserverbufferintegration_p.h.
Referenced by QtWaylandClient::DmaBufServerBuffer::DmaBufServerBuffer(), QtWaylandClient::DrmServerBuffer::DrmServerBuffer(), QtWaylandClient::LibHybrisServerBuffer::LibHybrisServerBuffer(), QtWaylandClient::ShmServerBuffer::ShmServerBuffer(), QtWaylandClient::VulkanServerBuffer::VulkanServerBuffer(), QtWaylandClient::LibHybrisServerBuffer::libhybris_buffer_add_fd(), size(), QtWaylandClient::DmaBufServerBuffer::toOpenGlTexture(), QtWaylandClient::DrmServerBuffer::toOpenGlTexture(), QtWaylandClient::LibHybrisServerBuffer::toOpenGlTexture(), and QtWaylandClient::ShmServerBuffer::toOpenGlTexture().