summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2012-09-13 20:50:59 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-27 18:35:55 +0200
commitccf0669da933e519edcff03698643e906b5935d5 (patch)
tree7c5d7880f0ef8755aebf9a653eff0a9004330c8c /dist
parent2d70dde68a1af355ae10cd6bd34f44006f16918a (diff)
downloadqtbase-ccf0669da933e519edcff03698643e906b5935d5.tar.gz
qtbase-ccf0669da933e519edcff03698643e906b5935d5.tar.bz2
qtbase-ccf0669da933e519edcff03698643e906b5935d5.zip
Added QGLPixelBuffer implementation using framebuffer objects.
Instead of having QGLPixelBuffer be a unusable stub implementation we deprecate it and implement it in terms of QOpenGLFramebufferObject. Framebuffer objects are anyway the recommended replacement for pixelbuffers in modern OpenGL, as the context switching overhead is avoided. Change-Id: Ia220c358ee92813e87981d297c51d84525010322 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'dist')
-rw-r--r--dist/changes-5.0.04
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index 16ba1c3453..5f2781c1b6 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -570,6 +570,10 @@ QtOpenGL
now have equivalents in QtGui, along with the naming change QGL -> QOpenGL.
The classes in QtOpenGL that have equivalents in QtGui can now be considered
deprecated.
+* QGLPixelBuffer is now deprecated and implemented in terms of a hidden
+ QGLWidget and a QOpenGLFramebufferObject. It is recommended that applications
+ using QGLPixelBuffer for offscreen rendering to a texture switch to using
+ QOpenGLFramebufferObject directly instead, for improved performance.
QtScript
--------