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

#include <qwaylandshm_p.h>

+ Inheritance diagram for QtWaylandClient::QWaylandShm:
+ Collaboration diagram for QtWaylandClient::QWaylandShm:

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
 

Detailed Description

Definition at line 31 of file qwaylandshm_p.h.

Constructor & Destructor Documentation

◆ QWaylandShm()

QtWaylandClient::QWaylandShm::QWaylandShm ( QWaylandDisplay * display,
int version,
uint32_t id )

Definition at line 12 of file qwaylandshm.cpp.

◆ ~QWaylandShm()

QtWaylandClient::QWaylandShm::~QWaylandShm ( )
override

Definition at line 17 of file qwaylandshm.cpp.

Member Function Documentation

◆ formatFrom() [1/2]

wl_shm_format QtWaylandClient::QWaylandShm::formatFrom ( QImage::Format format)
static

Definition at line 38 of file qwaylandshm.cpp.

References QWaylandSharedMemoryFormatHelper::fromQImageFormat().

Referenced by QtWaylandClient::QWaylandShmBuffer::QWaylandShmBuffer(), and formatSupported().

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

◆ formatFrom() [2/2]

QImage::Format QtWaylandClient::QWaylandShm::formatFrom ( wl_shm_format format)
static

Definition at line 43 of file qwaylandshm.cpp.

References QWaylandSharedMemoryFormatHelper::fromWaylandShmFormat().

+ Here is the call graph for this function:

◆ formatSupported() [1/2]

bool QtWaylandClient::QWaylandShm::formatSupported ( QImage::Format format) const

Definition at line 32 of file qwaylandshm.cpp.

References fmt, formatFrom(), and formatSupported().

+ Here is the call graph for this function:

◆ formatSupported() [2/2]

bool QtWaylandClient::QWaylandShm::formatSupported ( wl_shm_format format) const

Definition at line 27 of file qwaylandshm.cpp.

References QListSpecialMethodsBase< T >::contains().

Referenced by formatSupported().

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

◆ shm_format()

void QtWaylandClient::QWaylandShm::shm_format ( uint32_t format)
overrideprotected

Definition at line 22 of file qwaylandshm.cpp.


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