diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-10 07:46:00 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-10 12:51:53 +0200 |
commit | abaf9bded38ff6aac562718366590ed7c1106ad6 (patch) | |
tree | e6714631dbc5ddde9907dc388f680db1559541fe /src/quick | |
parent | 1ca74842e8427eb21d37697b3c130eed56b7091f (diff) |
Remove openGLContextCreated signal
No reason to have this in the API in 6.0, and it's already not emitted
at all in dev (because the direct OpenGL code path is now gone from the
render loops)
Some simple GL string printing has been removed from qml/qmlscene. This
opt-in feature has not been useful in practice anyway since QSG_INFO=1
prints the same things.
[ChangeLog][Qt Quick][QQuickWindow] The openGLContextCreated signal has
been removed from QQuickWindow.
Change-Id: Ifb647bbd1e828ebad2b775e8ce5c38723a0cda13
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick')
-rw-r--r-- | src/quick/items/qquickwindow.cpp | 28 | ||||
-rw-r--r-- | src/quick/items/qquickwindow.h | 1 | ||||
-rw-r--r-- | src/quick/items/qquickwindow_p.h | 1 |
3 files changed, 0 insertions, 30 deletions
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 90009c0f06..4e15aedf7d 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -4658,34 +4658,6 @@ QQmlIncubationController *QQuickWindow::incubationController() const */ /*! - \fn void QQuickWindow::openglContextCreated(QOpenGLContext *context) - - This signal is emitted on the gui thread when the OpenGL \a context - for this window is created, before it is made current. - - Some implementations will share the same OpenGL context between - multiple QQuickWindow instances. The openglContextCreated() signal - will in this case only be emitted for the first window, when the - OpenGL context is actually created. - - QQuickWindow::openglContext() will still return 0 for this window - until after the QQuickWindow::sceneGraphInitialized() has been - emitted. - - \note - This signal will only be emmited when using the default OpenGL scene - graph adaptation. - - \since 5.3 - */ - -/*! - \qmlsignal QtQuick.Window::Window::openglContextCreated() - \internal - \since 5.3 - */ - -/*! \fn void QQuickWindow::sceneGraphAboutToStop() This signal is emitted on the render thread when the scene graph is diff --git a/src/quick/items/qquickwindow.h b/src/quick/items/qquickwindow.h index 5266debec5..f701cd1deb 100644 --- a/src/quick/items/qquickwindow.h +++ b/src/quick/items/qquickwindow.h @@ -201,7 +201,6 @@ public: Q_SIGNALS: void frameSwapped(); - Q_REVISION(2, 2) void openglContextCreated(QOpenGLContext *context); // ### Qt 6 remove void sceneGraphInitialized(); void sceneGraphInvalidated(); void beforeSynchronizing(); diff --git a/src/quick/items/qquickwindow_p.h b/src/quick/items/qquickwindow_p.h index 9adbdeec51..6c16504ff7 100644 --- a/src/quick/items/qquickwindow_p.h +++ b/src/quick/items/qquickwindow_p.h @@ -257,7 +257,6 @@ public: void updateDirtyNode(QQuickItem *); void fireFrameSwapped() { Q_EMIT q_func()->frameSwapped(); } - void fireOpenGLContextCreated(QOpenGLContext *context) { Q_EMIT q_func()->openglContextCreated(context); } void fireAboutToStop() { Q_EMIT q_func()->sceneGraphAboutToStop(); } QSGRenderContext *context; |