KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KWin::GbmGraphicsBuffer Class Reference
Inheritance diagram for KWin::GbmGraphicsBuffer:
KWin::GraphicsBuffer

Public Member Functions

 GbmGraphicsBuffer (DmaBufAttributes attributes, gbm_bo *handle)
 
 ~GbmGraphicsBuffer () override
 
Map map (MapFlags flags) override
 
void unmap () override
 
QSize size () const override
 
bool hasAlphaChannel () const override
 
const DmaBufAttributesdmabufAttributes () const override
 
- Public Member Functions inherited from KWin::GraphicsBuffer
 GraphicsBuffer (QObject *parent=nullptr)
 
bool isReferenced () const
 
bool isDropped () const
 
void ref ()
 
void unref ()
 
void drop ()
 
virtual const ShmAttributesshmAttributes () const
 

Additional Inherited Members

- Public Types inherited from KWin::GraphicsBuffer
enum  MapFlag { Read = 0x1 , Write = 0x2 }
 
- Signals inherited from KWin::GraphicsBuffer
void released ()
 
- Static Public Member Functions inherited from KWin::GraphicsBuffer
static bool alphaChannelFromDrmFormat (uint32_t format)
 
- Protected Attributes inherited from KWin::GraphicsBuffer
int m_refCount = 0
 
bool m_dropped = false
 

Detailed Description

Definition at line 59 of file gbmgraphicsbufferallocator.cpp.

Constructor & Destructor Documentation

◆ GbmGraphicsBuffer()

KWin::GbmGraphicsBuffer::GbmGraphicsBuffer ( DmaBufAttributes attributes,
gbm_bo * handle )

Definition at line 213 of file gbmgraphicsbufferallocator.cpp.

◆ ~GbmGraphicsBuffer()

KWin::GbmGraphicsBuffer::~GbmGraphicsBuffer ( )
override

Definition at line 221 of file gbmgraphicsbufferallocator.cpp.

Member Function Documentation

◆ dmabufAttributes()

const DmaBufAttributes * KWin::GbmGraphicsBuffer::dmabufAttributes ( ) const
overridevirtual

Reimplemented from KWin::GraphicsBuffer.

Definition at line 237 of file gbmgraphicsbufferallocator.cpp.

◆ hasAlphaChannel()

bool KWin::GbmGraphicsBuffer::hasAlphaChannel ( ) const
overridevirtual

Implements KWin::GraphicsBuffer.

Definition at line 232 of file gbmgraphicsbufferallocator.cpp.

◆ map()

GraphicsBuffer::Map KWin::GbmGraphicsBuffer::map ( MapFlags flags)
overridevirtual

Reimplemented from KWin::GraphicsBuffer.

Definition at line 242 of file gbmgraphicsbufferallocator.cpp.

◆ size()

QSize KWin::GbmGraphicsBuffer::size ( ) const
overridevirtual

Implements KWin::GraphicsBuffer.

Definition at line 227 of file gbmgraphicsbufferallocator.cpp.

◆ unmap()

void KWin::GbmGraphicsBuffer::unmap ( )
overridevirtual

Reimplemented from KWin::GraphicsBuffer.

Definition at line 260 of file gbmgraphicsbufferallocator.cpp.


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