diff options
Diffstat (limited to 'src/gui/opengl')
-rw-r--r-- | src/gui/opengl/qopengldebug.cpp | 6 | ||||
-rw-r--r-- | src/gui/opengl/qopenglversionfunctions.cpp | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/gui/opengl/qopengldebug.cpp b/src/gui/opengl/qopengldebug.cpp index e747372df9..8b2ffb1a20 100644 --- a/src/gui/opengl/qopengldebug.cpp +++ b/src/gui/opengl/qopengldebug.cpp @@ -916,6 +916,12 @@ QOpenGLDebugMessage &QOpenGLDebugMessage::operator=(const QOpenGLDebugMessage &d } /*! + \fn QOpenGLDebugMessage &QOpenGLDebugMessage::operator=(QOpenGLDebugMessage &&debugMessage) + + Move-assigns \a debugMessage to this object. +*/ + +/*! \fn void QOpenGLDebugMessage::swap(QOpenGLDebugMessage &debugMessage) Swaps the message \a debugMessage with this message. This operation is very diff --git a/src/gui/opengl/qopenglversionfunctions.cpp b/src/gui/opengl/qopenglversionfunctions.cpp index 346a526054..17cd55720a 100644 --- a/src/gui/opengl/qopenglversionfunctions.cpp +++ b/src/gui/opengl/qopenglversionfunctions.cpp @@ -186,11 +186,17 @@ void QAbstractOpenGLFunctionsPrivate::removeExternalFunctions(QOpenGLContext *co \sa QOpenGLContext::versionFunctions() */ +/*! + Constructs a QAbstractOpenGLFunctions object. +*/ QAbstractOpenGLFunctions::QAbstractOpenGLFunctions() : d_ptr(new QAbstractOpenGLFunctionsPrivate) { } +/*! + Destroys a QAbstractOpenGLFunctions object. +*/ QAbstractOpenGLFunctions::~QAbstractOpenGLFunctions() { Q_D(QAbstractOpenGLFunctions); @@ -228,12 +234,16 @@ bool QAbstractOpenGLFunctions::isInitialized() const return d->initialized; } +/*! \internal + */ void QAbstractOpenGLFunctions::setOwningContext(const QOpenGLContext *context) { Q_D(QAbstractOpenGLFunctions); d->owningContext = const_cast<QOpenGLContext*>(context); } +/*! \internal + */ QOpenGLContext *QAbstractOpenGLFunctions::owningContext() const { Q_D(const QAbstractOpenGLFunctions); |