![]() |
Qt 6.x
The Qt SDK
|
Public Attributes | ||
QList< GLuint > | timers | |
QList< GLuint64 > | timeSamples | |
QOpenGLContext * | context | |
QOpenGLQueryHelper * | core | |
QExtTimerQueryHelper * | ext | |
int | requestedSampleCount | |
int | currentSample | |
bool | timerQueryActive | |
![]() | ||
ExtraData * | extraData | |
QAtomicPointer< QThreadData > | threadData | |
QAtomicPointer< ConnectionData > | connections | |
union { | ||
QObject * currentChildBeingDeleted | ||
QAbstractDeclarativeData * declarativeData | ||
}; | ||
QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount | |
![]() | ||
QObject * | q_ptr | |
QObject * | parent | |
QObjectList | children | |
uint | isWidget: 1 | |
uint | blockSig: 1 | |
uint | wasDeleted: 1 | |
uint | isDeletingChildren: 1 | |
uint | sendChildEvents: 1 | |
uint | receiveChildEvents: 1 | |
uint | isWindow: 1 | |
uint | deleteLaterCalled: 1 | |
uint | isQuickItem: 1 | |
uint | willBeWidget: 1 | |
uint | wasWidget: 1 | |
uint | unused: 21 | |
QAtomicInt | postedEvents | |
QDynamicMetaObjectData * | metaObject | |
QBindingStorage | bindingStorage | |
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 428 of file qopengltimerquery.cpp.
|
inline |
Definition at line 431 of file qopengltimerquery.cpp.
|
inline |
Definition at line 444 of file qopengltimerquery.cpp.
bool QOpenGLTimeMonitorPrivate::create | ( | ) |
Definition at line 470 of file qopengltimerquery.cpp.
References QList< T >::at(), context, core, QOpenGLContext::currentContext(), QList< T >::data(), ext, QOpenGLContext::format(), QOpenGLQueryHelper::glGenQueries(), QOpenGLContext::hasExtension(), QList< T >::isEmpty(), QByteArrayLiteral, qMakePair(), qWarning, requestedSampleCount, QList< T >::resize(), QList< T >::size(), timers, and timeSamples.
void QOpenGLTimeMonitorPrivate::destroy | ( | ) |
Definition at line 515 of file qopengltimerquery.cpp.
References QList< T >::at(), QList< T >::clear(), context, core, QList< T >::data(), ext, QOpenGLQueryHelper::glDeleteQueries(), QList< T >::isEmpty(), QList< T >::size(), and timers.
Definition at line 578 of file qopengltimerquery.cpp.
References QList< T >::at(), core, currentSample, ext, GL_QUERY_RESULT, GL_TIME_ELAPSED_EXT, QOpenGLQueryHelper::glEndQuery(), QExtTimerQueryHelper::glGetQueryObjectui64vEXT(), i, intervals(), samples(), QList< T >::size(), timerQueryActive, and timers.
Referenced by intervals().
bool QOpenGLTimeMonitorPrivate::isResultAvailable | ( | ) | const |
Definition at line 553 of file qopengltimerquery.cpp.
References QList< T >::at(), core, currentSample, GL_QUERY_RESULT_AVAILABLE, QOpenGLQueryHelper::glGetQueryObjectuiv(), GLuint, and timers.
void QOpenGLTimeMonitorPrivate::recordSample | ( | ) |
Definition at line 529 of file qopengltimerquery.cpp.
References QList< T >::at(), core, currentSample, ext, GL_TIME_ELAPSED_EXT, GL_TIMESTAMP, QOpenGLQueryHelper::glBeginQuery(), QOpenGLQueryHelper::glEndQuery(), QOpenGLQueryHelper::glQueryCounter(), QList< T >::size(), timerQueryActive, and timers.
void QOpenGLTimeMonitorPrivate::reset | ( | ) |
Definition at line 602 of file qopengltimerquery.cpp.
References currentSample, QList< T >::fill(), and timeSamples.
Definition at line 563 of file qopengltimerquery.cpp.
References QList< T >::at(), core, currentSample, ext, GL_QUERY_RESULT, QOpenGLQueryHelper::glGetQueryObjectui64v(), i, qWarning, timers, and timeSamples.
Referenced by intervals().
QOpenGLContext* QOpenGLTimeMonitorPrivate::context |
Definition at line 461 of file qopengltimerquery.cpp.
QOpenGLQueryHelper* QOpenGLTimeMonitorPrivate::core |
Definition at line 462 of file qopengltimerquery.cpp.
Referenced by ~QOpenGLTimeMonitorPrivate(), create(), destroy(), intervals(), isResultAvailable(), recordSample(), and samples().
int QOpenGLTimeMonitorPrivate::currentSample |
Definition at line 466 of file qopengltimerquery.cpp.
Referenced by intervals(), isResultAvailable(), recordSample(), reset(), and samples().
QExtTimerQueryHelper* QOpenGLTimeMonitorPrivate::ext |
Definition at line 463 of file qopengltimerquery.cpp.
Referenced by ~QOpenGLTimeMonitorPrivate(), create(), destroy(), intervals(), recordSample(), and samples().
int QOpenGLTimeMonitorPrivate::requestedSampleCount |
Definition at line 465 of file qopengltimerquery.cpp.
Referenced by create().
|
mutable |
Definition at line 467 of file qopengltimerquery.cpp.
Referenced by intervals(), and recordSample().
Definition at line 458 of file qopengltimerquery.cpp.
Referenced by create(), destroy(), intervals(), isResultAvailable(), recordSample(), and samples().
Definition at line 459 of file qopengltimerquery.cpp.