![]() |
Qt 6.x
The Qt SDK
|
#include <qopenglcontext_p.h>
Additional Inherited Members | |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
![]() | |
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) |
Definition at line 94 of file qopenglcontext_p.h.
|
inline |
Definition at line 98 of file qopenglcontext_p.h.
|
overridedefault |
void QOpenGLContextGroupPrivate::addContext | ( | QOpenGLContext * | ctx | ) |
Definition at line 1023 of file qopenglcontext.cpp.
References m_mutex, m_refs, m_shares, and QBasicAtomicInteger< T >::ref().
void QOpenGLContextGroupPrivate::cleanup | ( | ) |
Definition at line 1057 of file qopenglcontext.cpp.
References QList< T >::begin(), QList< T >::clear(), QHash< Key, T >::clear(), QHash< Key, T >::constBegin(), QHash< Key, T >::constEnd(), QList< T >::end(), it, m_pendingDeletion, m_resources, m_sharedResources, and qDeleteAll().
Referenced by removeContext().
void QOpenGLContextGroupPrivate::deletePendingResources | ( | QOpenGLContext * | ctx | ) |
Definition at line 1083 of file qopenglcontext.cpp.
References QList< T >::clear(), it, m_mutex, m_pendingDeletion, and pending.
void QOpenGLContextGroupPrivate::removeContext | ( | QOpenGLContext * | ctx | ) |
Definition at line 1030 of file qopenglcontext.cpp.
References cleanup(), QList< T >::constFirst(), QThread::currentThread(), QBasicAtomicInteger< T >::deref(), QList< T >::isEmpty(), m_context, m_mutex, m_refs, m_shares, and QList< T >::removeOne().
QOpenGLContext* QOpenGLContextGroupPrivate::m_context |
Definition at line 112 of file qopenglcontext_p.h.
Referenced by removeContext().
QRecursiveMutex QOpenGLContextGroupPrivate::m_mutex |
Definition at line 115 of file qopenglcontext_p.h.
Referenced by addContext(), deletePendingResources(), and removeContext().
QList<QOpenGLSharedResource *> QOpenGLContextGroupPrivate::m_pendingDeletion |
Definition at line 121 of file qopenglcontext_p.h.
Referenced by cleanup(), and deletePendingResources().
QAtomicInt QOpenGLContextGroupPrivate::m_refs |
Definition at line 118 of file qopenglcontext_p.h.
Referenced by addContext(), and removeContext().
QHash<QOpenGLMultiGroupSharedResource *, QOpenGLSharedResource *> QOpenGLContextGroupPrivate::m_resources |
Definition at line 117 of file qopenglcontext_p.h.
Referenced by cleanup().
QList<QOpenGLSharedResource *> QOpenGLContextGroupPrivate::m_sharedResources |
Definition at line 120 of file qopenglcontext_p.h.
Referenced by cleanup().
QList<QOpenGLContext *> QOpenGLContextGroupPrivate::m_shares |
Definition at line 114 of file qopenglcontext_p.h.
Referenced by addContext(), and removeContext().