KWin
|
#include <shmclientbuffer_p.h>
Public Member Functions | |
ShmClientBuffer (ShmPool *pool, ShmAttributes attributes, wl_client *client, uint32_t id) | |
~ShmClientBuffer () override | |
Map | map (MapFlags flags) override |
void | unmap () override |
QSize | size () const override |
bool | hasAlphaChannel () const override |
const ShmAttributes * | shmAttributes () const override |
![]() | |
GraphicsBuffer (QObject *parent=nullptr) | |
bool | isReferenced () const |
bool | isDropped () const |
void | ref () |
void | unref () |
void | drop () |
virtual const DmaBufAttributes * | dmabufAttributes () const |
Static Public Member Functions | |
static ShmClientBuffer * | get (wl_resource *resource) |
![]() | |
static bool | alphaChannelFromDrmFormat (uint32_t format) |
Public Attributes | |
destroy = buffer_destroy | |
Additional Inherited Members | |
![]() | |
enum | MapFlag { Read = 0x1 , Write = 0x2 } |
![]() | |
void | released () |
![]() | |
int | m_refCount = 0 |
bool | m_dropped = false |
Definition at line 158 of file shmclientbuffer.cpp.
KWin::ShmClientBuffer::ShmClientBuffer | ( | ShmPool * | pool, |
ShmAttributes | attributes, | ||
wl_client * | client, | ||
uint32_t | id ) |
Definition at line 162 of file shmclientbuffer.cpp.
|
override |
Definition at line 176 of file shmclientbuffer.cpp.
|
static |
Definition at line 196 of file shmclientbuffer.cpp.
|
overridevirtual |
Implements KWin::GraphicsBuffer.
Definition at line 186 of file shmclientbuffer.cpp.
|
overridevirtual |
Reimplemented from KWin::GraphicsBuffer.
Definition at line 234 of file shmclientbuffer.cpp.
|
overridevirtual |
Reimplemented from KWin::GraphicsBuffer.
Definition at line 191 of file shmclientbuffer.cpp.
|
overridevirtual |
Implements KWin::GraphicsBuffer.
Definition at line 181 of file shmclientbuffer.cpp.
|
overridevirtual |
Reimplemented from KWin::GraphicsBuffer.
Definition at line 262 of file shmclientbuffer.cpp.
KWin::ShmClientBuffer::destroy = buffer_destroy |
Definition at line 159 of file shmclientbuffer.cpp.