![]() |
Qt 6.x
The Qt SDK
|
#include <qwlclientbuffer_p.h>
Inheritance diagram for QtWayland::SharedMemoryBuffer:
Collaboration diagram for QtWayland::SharedMemoryBuffer:Public Member Functions | |
| SharedMemoryBuffer (struct ::wl_resource *bufferResource) | |
| QSize | size () const override |
| QWaylandSurface::Origin | origin () const override |
| QImage | image () const override |
Public Member Functions inherited from QtWayland::ClientBuffer | |
| ClientBuffer (struct ::wl_resource *bufferResource) | |
| virtual | ~ClientBuffer () |
| virtual QWaylandBufferRef::BufferFormatEgl | bufferFormatEgl () const |
| virtual QSize | size () const =0 |
| virtual QWaylandSurface::Origin | origin () const =0 |
| virtual quintptr | lockNativeBuffer () |
| virtual void | unlockNativeBuffer (quintptr native_buffer) const |
| virtual QImage | image () const |
| bool | isCommitted () const |
| virtual void | setCommitted (QRegion &damage) |
| bool | isDestroyed () |
| virtual bool | isProtected () |
| struct::wl_resource * | waylandBufferHandle () const |
| bool | isSharedMemory () const |
Additional Inherited Members | |
Static Public Member Functions inherited from QtWayland::ClientBuffer | |
| static bool | hasContent (ClientBuffer *buffer) |
| static bool | hasProtectedContent (ClientBuffer *buffer) |
Protected Member Functions inherited from QtWayland::ClientBuffer | |
| void | ref () |
| void | deref () |
| void | sendRelease () |
| virtual void | setDestroyed () |
Protected Attributes inherited from QtWayland::ClientBuffer | |
| struct::wl_resource * | m_buffer = nullptr |
| QRegion | m_damage |
| bool | m_textureDirty = false |
Definition at line 97 of file qwlclientbuffer_p.h.
| QtWayland::SharedMemoryBuffer::SharedMemoryBuffer | ( | struct ::wl_resource * | bufferResource | ) |
Definition at line 79 of file qwlclientbuffer.cpp.
|
overridevirtual |
Reimplemented from QtWayland::ClientBuffer.
Definition at line 106 of file qwlclientbuffer.cpp.
References QWaylandSharedMemoryFormatHelper::fromWaylandShmFormat(), QtWayland::ClientBuffer::m_buffer, pool, and QtWayland::shmBufferCleanup().
Here is the call graph for this function:
|
overridevirtual |
Implements QtWayland::ClientBuffer.
Definition at line 95 of file qwlclientbuffer.cpp.
References QWaylandSurface::OriginTopLeft.
|
overridevirtual |
Implements QtWayland::ClientBuffer.
Definition at line 85 of file qwlclientbuffer.cpp.
References QtWayland::ClientBuffer::m_buffer.