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::QWaylandBuffer Class Referenceabstract

#include <qwaylandbuffer_p.h>

+ Inheritance diagram for QtWaylandClient::QWaylandBuffer:
+ Collaboration diagram for QtWaylandClient::QWaylandBuffer:

Public Member Functions

 QWaylandBuffer ()
 
virtual ~QWaylandBuffer ()
 
void init (wl_buffer *buf)
 
wl_buffer * buffer ()
 
virtual QSize size () const =0
 
virtual int scale () const
 
void setBusy (bool busy)
 
bool busy () const
 
void setCommitted ()
 
bool committed () const
 

Protected Attributes

struct wl_buffer * mBuffer = nullptr
 

Detailed Description

Definition at line 30 of file qwaylandbuffer_p.h.

Constructor & Destructor Documentation

◆ QWaylandBuffer()

QtWaylandClient::QWaylandBuffer::QWaylandBuffer ( )

Definition at line 13 of file qwaylandbuffer.cpp.

◆ ~QWaylandBuffer()

QtWaylandClient::QWaylandBuffer::~QWaylandBuffer ( )
virtual

Definition at line 17 of file qwaylandbuffer.cpp.

References mBuffer.

Member Function Documentation

◆ buffer()

wl_buffer * QtWaylandClient::QWaylandBuffer::buffer ( )
inline

Definition at line 36 of file qwaylandbuffer_p.h.

◆ busy()

bool QtWaylandClient::QWaylandBuffer::busy ( ) const
inline

Definition at line 41 of file qwaylandbuffer_p.h.

◆ committed()

bool QtWaylandClient::QWaylandBuffer::committed ( ) const
inline

Definition at line 44 of file qwaylandbuffer_p.h.

◆ init()

void QtWaylandClient::QWaylandBuffer::init ( wl_buffer * buf)

Definition at line 23 of file qwaylandbuffer.cpp.

References mBuffer.

Referenced by QtWaylandClient::QWaylandShmBuffer::QWaylandShmBuffer().

+ Here is the caller graph for this function:

◆ scale()

virtual int QtWaylandClient::QWaylandBuffer::scale ( ) const
inlinevirtual

Reimplemented in QtWaylandClient::QWaylandShmBuffer.

Definition at line 38 of file qwaylandbuffer_p.h.

◆ setBusy()

void QtWaylandClient::QWaylandBuffer::setBusy ( bool busy)
inline

Definition at line 40 of file qwaylandbuffer_p.h.

Referenced by QtWaylandClient::QWaylandWindow::reset(), and QtWaylandClient::QWaylandWindow::safeCommit().

+ Here is the caller graph for this function:

◆ setCommitted()

void QtWaylandClient::QWaylandBuffer::setCommitted ( )
inline

Definition at line 43 of file qwaylandbuffer_p.h.

◆ size()

virtual QSize QtWaylandClient::QWaylandBuffer::size ( ) const
pure virtual

Member Data Documentation

◆ mBuffer

struct wl_buffer* QtWaylandClient::QWaylandBuffer::mBuffer = nullptr
protected

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