qt5base-lts/tests/auto/opengl/qgl
Laszlo Agocs bd5cea5ba8 Resurrect QGLWidget::renderPixmap()
This function has been completely broken since Qt 5.0. Unfortunately
the autotest's verification steps were somewhat faulty so returning
a null pixmap from renderPixmap() did not trigger a failure.

The implementation is now done with framebuffer objects and pixel
readback. This is not ideal performance-wise, but is the only option.
In Qt 4 pixmaps were often backed by platform dependent native pixmaps
that could be used as rendering targets for OpenGL content. This is not
an option anymore since pixmaps are raster backed on all the major platforms.

Task-number: QTBUG-33186
Change-Id: I8f558e33bf7967ac3be439fd5a3eac07b6444be5
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
2014-01-06 12:57:20 +01:00
..
.gitignore Moved autotests in category 'opengl' into new directory structure 2011-09-09 10:32:38 +02:00
qgl.pro Mark tst_qgl as insignificant in angle build 2013-11-12 07:11:07 +01:00
qgl.qrc Moved autotests in category 'opengl' into new directory structure 2011-09-09 10:32:38 +02:00
tst_qgl.cpp Resurrect QGLWidget::renderPixmap() 2014-01-06 12:57:20 +01:00