|  | Qt 6.x
    The Qt SDK | 
#include <qwaylandshmbackingstore_p.h>
 Inheritance diagram for QtWaylandClient::QWaylandShmBuffer:
 Inheritance diagram for QtWaylandClient::QWaylandShmBuffer: Collaboration diagram for QtWaylandClient::QWaylandShmBuffer:
 Collaboration diagram for QtWaylandClient::QWaylandShmBuffer:| Public Member Functions | |
| QWaylandShmBuffer (QWaylandDisplay *display, const QSize &size, QImage::Format format, qreal scale=1) | |
| ~QWaylandShmBuffer () override | |
| QSize | size () const override | 
| int | scale () const override | 
| QImage * | image () | 
| QImage * | imageInsideMargins (const QMargins &margins) | 
|  Public Member Functions inherited from QtWaylandClient::QWaylandBuffer | |
| QWaylandBuffer () | |
| virtual | ~QWaylandBuffer () | 
| void | init (wl_buffer *buf) | 
| wl_buffer * | buffer () | 
| virtual QSize | size () const =0 | 
| virtual int | scale () const | 
| void | setBusy () | 
| bool | busy () const | 
| void | setCommitted () | 
| bool | committed () const | 
| Additional Inherited Members | |
|  Protected Attributes inherited from QtWaylandClient::QWaylandBuffer | |
| struct wl_buffer * | mBuffer = nullptr | 
Definition at line 35 of file qwaylandshmbackingstore_p.h.
| QtWaylandClient::QWaylandShmBuffer::QWaylandShmBuffer | ( | QWaylandDisplay * | display, | 
| const QSize & | size, | ||
| QImage::Format | format, | ||
| qreal | scale = 1 | ||
| ) | 
Definition at line 48 of file qwaylandshmbackingstore.cpp.
References QFileDevice::AutoCloseHandle, file, QtWaylandClient::QWaylandShm::formatFrom(), QtWaylandClient::QWaylandBuffer::init(), MAP_FAILED, QFile::open(), qErrnoWarning(), qUtf8Printable, qWarning, QIODeviceBase::ReadWrite, QScopedPointer< T, Cleanup >::reset(), QStandardPaths::RuntimeLocation, QImage::setDevicePixelRatio(), QIODeviceBase::Unbuffered, and QStandardPaths::writableLocation().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | override | 
Definition at line 98 of file qwaylandshmbackingstore.cpp.
References QImage::constBits(), and QImage::sizeInBytes().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Definition at line 42 of file qwaylandshmbackingstore_p.h.
Referenced by QtWaylandClient::QWaylandShmBackingStore::beginPaint(), QtWaylandClient::QWaylandShmBackingStore::contentSurface(), QtWaylandClient::QWaylandShmBackingStore::entireSurface(), and QtWaylandClient::QWaylandShmBackingStore::resize().
 Here is the caller graph for this function:
 Here is the caller graph for this function:Definition at line 107 of file qwaylandshmbackingstore.cpp.
References QMargins::bottom(), QImage::bytesPerLine(), QImage::constBits(), QImage::devicePixelRatio(), QImage::format(), QSize::height(), QMargins::isNull(), QMargins::left(), QMargins::right(), QImage::setDevicePixelRatio(), QImage::size(), QMargins::top(), and QSize::width().
Referenced by QtWaylandClient::QWaylandShmBackingStore::contentSurface().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inlineoverridevirtual | 
Reimplemented from QtWaylandClient::QWaylandBuffer.
Definition at line 41 of file qwaylandshmbackingstore_p.h.
| 
 | inlineoverridevirtual | 
Implements QtWaylandClient::QWaylandBuffer.
Definition at line 40 of file qwaylandshmbackingstore_p.h.