![]() |
Qt 6.x
The Qt SDK
|
Public Attributes | ||
QOpenGLContext * | context | |
QOpenGLQueryHelper * | core | |
QExtTimerQueryHelper * | ext | |
GLuint64 | timeInterval | |
GLuint | timer | |
![]() | ||
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 39 of file qopengltimerquery.cpp.
|
inline |
Definition at line 42 of file qopengltimerquery.cpp.
|
inline |
Definition at line 51 of file qopengltimerquery.cpp.
void QOpenGLTimerQueryPrivate::begin | ( | ) |
Definition at line 148 of file qopengltimerquery.cpp.
References core, GL_TIME_ELAPSED, QOpenGLQueryHelper::glBeginQuery(), and timer.
bool QOpenGLTimerQueryPrivate::create | ( | ) |
Definition at line 87 of file qopengltimerquery.cpp.
References context, core, QOpenGLContext::currentContext(), ext, QOpenGLContext::format(), QOpenGLQueryHelper::glGenQueries(), QOpenGLContext::hasExtension(), QOpenGLContext::isOpenGLES(), QByteArrayLiteral, qMakePair(), qWarning, and timer.
void QOpenGLTimerQueryPrivate::destroy | ( | ) |
Definition at line 128 of file qopengltimerquery.cpp.
References context, core, QOpenGLQueryHelper::glDeleteQueries(), and timer.
void QOpenGLTimerQueryPrivate::end | ( | ) |
Definition at line 153 of file qopengltimerquery.cpp.
References core, GL_TIME_ELAPSED, and QOpenGLQueryHelper::glEndQuery().
bool QOpenGLTimerQueryPrivate::isResultAvailable | ( | ) | const |
Definition at line 186 of file qopengltimerquery.cpp.
References core, GL_QUERY_RESULT_AVAILABLE, QOpenGLQueryHelper::glGetQueryObjectuiv(), GLuint, and timer.
void QOpenGLTimerQueryPrivate::recordTimestamp | ( | ) |
Definition at line 158 of file qopengltimerquery.cpp.
References core, ext, GL_TIMESTAMP, QOpenGLQueryHelper::glQueryCounter(), qWarning, and timer.
GLuint64 QOpenGLTimerQueryPrivate::result | ( | ) | const |
Definition at line 193 of file qopengltimerquery.cpp.
References core, ext, GL_QUERY_RESULT, QOpenGLQueryHelper::glGetQueryObjectui64v(), QExtTimerQueryHelper::glGetQueryObjectui64vEXT(), timeInterval, and timer.
GLuint64 QOpenGLTimerQueryPrivate::waitForTimeStamp | ( | ) | const |
Definition at line 171 of file qopengltimerquery.cpp.
References core, ext, GL_TIMESTAMP, QOpenGLQueryHelper::glGetInteger64v(), and qWarning.
QOpenGLContext* QOpenGLTimerQueryPrivate::context |
Definition at line 80 of file qopengltimerquery.cpp.
QOpenGLQueryHelper* QOpenGLTimerQueryPrivate::core |
Definition at line 81 of file qopengltimerquery.cpp.
Referenced by ~QOpenGLTimerQueryPrivate(), begin(), create(), destroy(), end(), isResultAvailable(), recordTimestamp(), result(), and waitForTimeStamp().
QExtTimerQueryHelper* QOpenGLTimerQueryPrivate::ext |
Definition at line 82 of file qopengltimerquery.cpp.
Referenced by ~QOpenGLTimerQueryPrivate(), create(), recordTimestamp(), result(), and waitForTimeStamp().
|
mutable |
Definition at line 83 of file qopengltimerquery.cpp.
Referenced by result().
GLuint QOpenGLTimerQueryPrivate::timer |
Definition at line 84 of file qopengltimerquery.cpp.
Referenced by begin(), create(), destroy(), isResultAvailable(), recordTimestamp(), and result().