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
QOpenGLDebugLoggerPrivate Class Reference
+ Inheritance diagram for QOpenGLDebugLoggerPrivate:
+ Collaboration diagram for QOpenGLDebugLoggerPrivate:

Public Member Functions

 QOpenGLDebugLoggerPrivate ()
 
void handleMessage (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *rawMessage)
 
void controlDebugMessages (QOpenGLDebugMessage::Sources sources, QOpenGLDebugMessage::Types types, QOpenGLDebugMessage::Severities severities, const QList< GLuint > &ids, const QByteArray &callerName, bool enable)
 
void _q_contextAboutToBeDestroyed ()
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Public Attributes

qt_glDebugMessageControl_t glDebugMessageControl
 
qt_glDebugMessageInsert_t glDebugMessageInsert
 
qt_glDebugMessageCallback_t glDebugMessageCallback
 
qt_glGetDebugMessageLog_t glGetDebugMessageLog
 
qt_glPushDebugGroup_t glPushDebugGroup
 
qt_glPopDebugGroup_t glPopDebugGroup
 
qt_glGetPointerv_t glGetPointerv
 
GLDEBUGPROC oldDebugCallbackFunction
 
voidoldDebugCallbackParameter
 
QOpenGLContextcontext
 
GLint maxMessageLength
 
QOpenGLDebugLogger::LoggingMode loggingMode
 
bool initialized: 1
 
bool isLogging: 1
 
bool debugWasEnabled: 1
 
bool syncDebugWasEnabled: 1
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
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 receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (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)
 

Detailed Description

Definition at line 1039 of file qopengldebug.cpp.

Constructor & Destructor Documentation

◆ QOpenGLDebugLoggerPrivate()

QOpenGLDebugLoggerPrivate::QOpenGLDebugLoggerPrivate ( )

Definition at line 1074 of file qopengldebug.cpp.

Member Function Documentation

◆ _q_contextAboutToBeDestroyed()

void QOpenGLDebugLoggerPrivate::_q_contextAboutToBeDestroyed ( )

Definition at line 1205 of file qopengldebug.cpp.

References _q_contextAboutToBeDestroyed(), context, QOpenGLContext::currentContext(), QObject::disconnect(), QOpenGLContext::doneCurrent(), QOpenGLContext::format(), initialized, QOpenGLContext::makeCurrent(), Q_ASSERT, qWarning, SIGNAL, SLOT, and QOpenGLContext::surface().

Referenced by _q_contextAboutToBeDestroyed().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ controlDebugMessages()

void QOpenGLDebugLoggerPrivate::controlDebugMessages ( QOpenGLDebugMessage::Sources sources,
QOpenGLDebugMessage::Types types,
QOpenGLDebugMessage::Severities severities,
const QList< GLuint > & ids,
const QByteArray & callerName,
bool enable )

◆ handleMessage()

void QOpenGLDebugLoggerPrivate::handleMessage ( GLenum source,
GLenum type,
GLuint id,
GLenum severity,
GLsizei length,
const GLchar * rawMessage )

Definition at line 1095 of file qopengldebug.cpp.

References emit, QString::fromUtf8(), oldDebugCallbackFunction, oldDebugCallbackParameter, qt_messageSeverityFromGL(), qt_messageSourceFromGL(), qt_messageTypeFromGL(), and QOpenGLDebugMessagePrivate::source.

Referenced by qt_opengl_debug_callback().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ context

QOpenGLContext* QOpenGLDebugLoggerPrivate::context

Definition at line 1062 of file qopengldebug.cpp.

Referenced by _q_contextAboutToBeDestroyed().

◆ debugWasEnabled

bool QOpenGLDebugLoggerPrivate::debugWasEnabled

Definition at line 1067 of file qopengldebug.cpp.

◆ glDebugMessageCallback

qt_glDebugMessageCallback_t QOpenGLDebugLoggerPrivate::glDebugMessageCallback

Definition at line 1054 of file qopengldebug.cpp.

◆ glDebugMessageControl

qt_glDebugMessageControl_t QOpenGLDebugLoggerPrivate::glDebugMessageControl

Definition at line 1052 of file qopengldebug.cpp.

Referenced by controlDebugMessages().

◆ glDebugMessageInsert

qt_glDebugMessageInsert_t QOpenGLDebugLoggerPrivate::glDebugMessageInsert

Definition at line 1053 of file qopengldebug.cpp.

◆ glGetDebugMessageLog

qt_glGetDebugMessageLog_t QOpenGLDebugLoggerPrivate::glGetDebugMessageLog

Definition at line 1055 of file qopengldebug.cpp.

◆ glGetPointerv

qt_glGetPointerv_t QOpenGLDebugLoggerPrivate::glGetPointerv

Definition at line 1058 of file qopengldebug.cpp.

◆ glPopDebugGroup

qt_glPopDebugGroup_t QOpenGLDebugLoggerPrivate::glPopDebugGroup

Definition at line 1057 of file qopengldebug.cpp.

◆ glPushDebugGroup

qt_glPushDebugGroup_t QOpenGLDebugLoggerPrivate::glPushDebugGroup

Definition at line 1056 of file qopengldebug.cpp.

◆ initialized

bool QOpenGLDebugLoggerPrivate::initialized

Definition at line 1065 of file qopengldebug.cpp.

Referenced by _q_contextAboutToBeDestroyed(), and controlDebugMessages().

◆ isLogging

bool QOpenGLDebugLoggerPrivate::isLogging

Definition at line 1066 of file qopengldebug.cpp.

◆ loggingMode

QOpenGLDebugLogger::LoggingMode QOpenGLDebugLoggerPrivate::loggingMode

Definition at line 1064 of file qopengldebug.cpp.

◆ maxMessageLength

GLint QOpenGLDebugLoggerPrivate::maxMessageLength

Definition at line 1063 of file qopengldebug.cpp.

◆ oldDebugCallbackFunction

GLDEBUGPROC QOpenGLDebugLoggerPrivate::oldDebugCallbackFunction

Definition at line 1060 of file qopengldebug.cpp.

Referenced by handleMessage().

◆ oldDebugCallbackParameter

void* QOpenGLDebugLoggerPrivate::oldDebugCallbackParameter

Definition at line 1061 of file qopengldebug.cpp.

Referenced by handleMessage().

◆ syncDebugWasEnabled

bool QOpenGLDebugLoggerPrivate::syncDebugWasEnabled

Definition at line 1068 of file qopengldebug.cpp.


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