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>.
|
#include <qwaylandshm_p.h>
Public Member Functions | |
QWaylandShm (QWaylandDisplay *display, int version, uint32_t id) | |
~QWaylandShm () override | |
bool | formatSupported (wl_shm_format format) const |
bool | formatSupported (QImage::Format format) const |
Static Public Member Functions | |
static wl_shm_format | formatFrom (QImage::Format format) |
static QImage::Format | formatFrom (wl_shm_format format) |
Protected Member Functions | |
void | shm_format (uint32_t format) override |
Definition at line 31 of file qwaylandshm_p.h.
QtWaylandClient::QWaylandShm::QWaylandShm | ( | QWaylandDisplay * | display, |
int | version, | ||
uint32_t | id ) |
Definition at line 12 of file qwaylandshm.cpp.
|
override |
Definition at line 17 of file qwaylandshm.cpp.
|
static |
Definition at line 38 of file qwaylandshm.cpp.
References QWaylandSharedMemoryFormatHelper::fromQImageFormat().
Referenced by QtWaylandClient::QWaylandShmBuffer::QWaylandShmBuffer(), and formatSupported().
|
static |
Definition at line 43 of file qwaylandshm.cpp.
References QWaylandSharedMemoryFormatHelper::fromWaylandShmFormat().
bool QtWaylandClient::QWaylandShm::formatSupported | ( | QImage::Format | format | ) | const |
Definition at line 32 of file qwaylandshm.cpp.
References fmt, formatFrom(), and formatSupported().
bool QtWaylandClient::QWaylandShm::formatSupported | ( | wl_shm_format | format | ) | const |
Definition at line 27 of file qwaylandshm.cpp.
References QListSpecialMethodsBase< T >::contains().
Referenced by formatSupported().
|
overrideprotected |
Definition at line 22 of file qwaylandshm.cpp.