![]() |
Qt 6.x
The Qt SDK
|
#include <qwaylandview_p.h>
Static Public Member Functions | |
static QWaylandViewPrivate * | get (QWaylandView *view) |
![]() | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Additional Inherited Members | |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 31 of file qwaylandview_p.h.
|
inline |
Definition at line 37 of file qwaylandview_p.h.
void QWaylandViewPrivate::clearFrontBuffer | ( | ) |
Definition at line 126 of file qwaylandview.cpp.
References bufferLocked, currentBuffer, and currentDamage.
Referenced by markSurfaceAsDestroyed().
|
inlinestatic |
Definition at line 35 of file qwaylandview_p.h.
References view.
Referenced by Vsp2Layer::Vsp2Layer(), QWaylandSurfacePrivate::~QWaylandSurfacePrivate(), QWaylandSurfacePrivate::notifyViewsAboutDestruction(), and QWaylandOutput::sendFrameCallbacks().
QT_BEGIN_NAMESPACE void QWaylandViewPrivate::markSurfaceAsDestroyed | ( | QWaylandSurface * | surface | ) |
Definition at line 17 of file qwaylandview.cpp.
References clearFrontBuffer(), emit, QPointer< T >::isNull(), Q_ASSERT, setSurface(), and surface.
Referenced by QWaylandSurfacePrivate::~QWaylandSurfacePrivate(), and QWaylandSurfacePrivate::notifyViewsAboutDestruction().
void QWaylandViewPrivate::setSurface | ( | QWaylandSurface * | newSurface | ) |
Definition at line 104 of file qwaylandview.cpp.
References QWaylandOutputPrivate::addView(), QWaylandSurfacePrivate::derefView(), QWaylandOutputPrivate::get(), QWaylandSurfacePrivate::get(), nextBuffer, nextBufferCommitted, nextDamage, output, QWaylandSurfacePrivate::refView(), QWaylandOutputPrivate::removeView(), and surface.
Referenced by markSurfaceAsDestroyed().
bool QWaylandViewPrivate::allowDiscardFrontBuffer = false |
Definition at line 57 of file qwaylandview_p.h.
bool QWaylandViewPrivate::broadcastRequestedPositionChanged = false |
Definition at line 55 of file qwaylandview_p.h.
bool QWaylandViewPrivate::bufferLocked = false |
Definition at line 54 of file qwaylandview_p.h.
Referenced by clearFrontBuffer().
QMutex QWaylandViewPrivate::bufferMutex |
Definition at line 48 of file qwaylandview_p.h.
QWaylandBufferRef QWaylandViewPrivate::currentBuffer |
Definition at line 49 of file qwaylandview_p.h.
Referenced by clearFrontBuffer().
QRegion QWaylandViewPrivate::currentDamage |
Definition at line 50 of file qwaylandview_p.h.
Referenced by clearFrontBuffer().
bool QWaylandViewPrivate::forceAdvanceSucceed = false |
Definition at line 56 of file qwaylandview_p.h.
bool QWaylandViewPrivate::independentFrameCallback = false |
Definition at line 58 of file qwaylandview_p.h.
Referenced by Vsp2Layer::Vsp2Layer().
QWaylandBufferRef QWaylandViewPrivate::nextBuffer |
Definition at line 51 of file qwaylandview_p.h.
Referenced by setSurface().
bool QWaylandViewPrivate::nextBufferCommitted = false |
Definition at line 53 of file qwaylandview_p.h.
Referenced by setSurface().
QRegion QWaylandViewPrivate::nextDamage |
Definition at line 52 of file qwaylandview_p.h.
Referenced by setSurface().
QWaylandOutput* QWaylandViewPrivate::output = nullptr |
Definition at line 46 of file qwaylandview_p.h.
Referenced by setSurface().
Definition at line 44 of file qwaylandview_p.h.
QPointF QWaylandViewPrivate::requestedPos |
Definition at line 47 of file qwaylandview_p.h.
QWaylandSurface* QWaylandViewPrivate::surface = nullptr |
Definition at line 45 of file qwaylandview_p.h.
Referenced by markSurfaceAsDestroyed(), and setSurface().