diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-10 08:09:41 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-11 11:18:21 +0200 |
commit | 6f4fdce07fa2e75e09dcc90a76ea6d741fb58e74 (patch) | |
tree | f2200097014243dafbc89532727f28179ffac42f /src/quick/items/qquickwindow_p.h | |
parent | e96ebaec7de454ac0f39a2fc53f687faac9ae8ff (diff) |
Rename setPersistentOpenGLContext and revise related docs
These persistent hints are still taken into account by the threaded
render loop, so keep them, but get rid of "OpenGL Context" from the
function names.
The qquickwindow autotest has been updated accordingly, and with a few
OpenGL-related cleanups it now runs without any warnings or skips with
OpenGL-on-RHI, while it skips only 1 case when running with some other
API, and 2 with the software backend.
[ChangeLog][Qt Quick][QQuickWindow] The setPersistentOpenGLContext() and
isPersistentOpenGLContext() functions are renamed to
setPersistentGraphics() and isPersistentGraphics().
Change-Id: Ifc4cc7c4b94fe9f7e402b39ca4f28952dcafd588
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/items/qquickwindow_p.h')
-rw-r--r-- | src/quick/items/qquickwindow_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickwindow_p.h b/src/quick/items/qquickwindow_p.h index 6c16504ff7..89dbe2f5dd 100644 --- a/src/quick/items/qquickwindow_p.h +++ b/src/quick/items/qquickwindow_p.h @@ -274,7 +274,7 @@ public: uint clearBeforeRendering : 1; - uint persistentGLContext : 1; + uint persistentGraphics : 1; uint persistentSceneGraph : 1; uint lastWheelEventAccepted : 1; |