summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglwindow.cpp
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <[email protected]>2020-02-19 11:13:48 +0100
committerJohan Klokkhammer Helsing <[email protected]>2020-02-20 16:11:02 +0100
commit012bb039e3c12d90546efcac84b1747b2a266c64 (patch)
tree925f28b0681a827cebb7031e4b5cd3cbabef7a9d /src/opengl/qopenglwindow.cpp
parent734b3a33c19034fd0afbafb21ec291928f806a3f (diff)
Docs: Remove traces of QGL
The QGL* classes have been removed and the examples ported to QOpenGL, update the documentation to reflect that. Task-number: QTBUG-74408 Change-Id: Ibb4787cdeedc05a807d673943b61838f19092234 Reviewed-by: Laszlo Agocs <[email protected]>
Diffstat (limited to 'src/opengl/qopenglwindow.cpp')
-rw-r--r--src/opengl/qopenglwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/opengl/qopenglwindow.cpp b/src/opengl/qopenglwindow.cpp
index f473d849cf1..d000dced949 100644
--- a/src/opengl/qopenglwindow.cpp
+++ b/src/opengl/qopenglwindow.cpp
@@ -60,8 +60,8 @@ QT_BEGIN_NAMESPACE
QOpenGLWindow is an enhanced QWindow that allows easily creating windows that
perform OpenGL rendering using an API that is compatible with QOpenGLWidget
- and is similar to the legacy QGLWidget. Unlike QOpenGLWidget, QOpenGLWindow
- has no dependency on the widgets module and offers better performance.
+ Unlike QOpenGLWidget, QOpenGLWindow has no dependency on the widgets module
+ and offers better performance.
A typical application will subclass QOpenGLWindow and reimplement the following
virtual functions:
@@ -100,8 +100,8 @@ QT_BEGIN_NAMESPACE
QPainter-based drawing.
QOpenGLWindow supports multiple update behaviors. The default,
- \c NoPartialUpdate is equivalent to a regular, OpenGL-based QWindow or the
- legacy QGLWidget. In contrast, \c PartialUpdateBlit and \c PartialUpdateBlend are
+ \c NoPartialUpdate is equivalent to a regular, OpenGL-based QWindow. In
+ contrast, \c PartialUpdateBlit and \c PartialUpdateBlend are
more in line with QOpenGLWidget's way of working, where there is always an
extra, dedicated framebuffer object present. These modes allow, by
sacrificing some performance, redrawing only a smaller area on each paint and