From 872008a0e053d739636e4ad8ecbbc941b3fdc99d Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Mon, 28 Jul 2014 21:11:59 +0200 Subject: QQuickWindow: add some links to resetOpenGLState ... or people might not find it. So link it from the docs of the various signals which expect the users to leave the GL state as they found it. Change-Id: I1ae41958449ded110aa2398b415d593bf04d2b7f Reviewed-by: Laszlo Agocs --- src/quick/items/qquickwindow.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index bead1add1f..3c2718dcaf 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -3082,6 +3082,8 @@ QQmlIncubationController *QQuickWindow::incubationController() const \warning Make very sure that a signal handler for beforeSynchronizing leaves the GL context in the same state as it was when the signal handler was entered. Failing to do so can result in the scene not rendering properly. + + \sa resetOpenGLState() */ /*! @@ -3103,6 +3105,7 @@ QQmlIncubationController *QQuickWindow::incubationController() const do so can result in the scene not rendering properly. \since 5.3 + \sa resetOpenGLState() */ /*! @@ -3123,6 +3126,8 @@ QQmlIncubationController *QQuickWindow::incubationController() const \warning Make very sure that a signal handler for beforeRendering leaves the GL context in the same state as it was when the signal handler was entered. Failing to do so can result in the scene not rendering properly. + + \sa resetOpenGLState() */ /*! @@ -3142,6 +3147,8 @@ QQmlIncubationController *QQuickWindow::incubationController() const \warning Make very sure that a signal handler for afterRendering() leaves the GL context in the same state as it was when the signal handler was entered. Failing to do so can result in the scene not rendering properly. + + \sa resetOpenGLState() */ /*! @@ -3194,7 +3201,7 @@ QQmlIncubationController *QQuickWindow::incubationController() const context in the same state as it was when the signal handler was entered. Failing to do so can result in the scene not rendering properly. - \sa sceneGraphInvalidated() + \sa sceneGraphInvalidated(), resetOpenGLState() \since 5.3 */ -- cgit v1.2.3