Hello,

That's just yet another way of producing GL content in a texture, and then 
optionally reading it back into a QImage. As shown in 
https://bugreports.qt.io/browse/QTBUG-61280 and 
https://bugreports.qt.io/browse/QTBUG-47185 some users prefer to use their 
existing QOpenGLWidget code path to do this. The changes simply enable this. At 
the same time nothing prevents anyone from using other methods to achieve the 
same (for example, QOpenGLContext+QOffscreenSurface+QOpenGLFramebufferObject), 
and those will work in earlier versions too.

Best regards,
Laszlo


From: Interest [mailto:interest-bounces+laszlo.agocs=qt...@qt-project.org] On 
Behalf Of Axel Jäger via Interest
Sent: onsdag 23. august 2017 21.46
To: interest@qt-project.org
Subject: [Interest] QOpenGLWidget grabbing of offscreen content in Qt 5.10

Hello,
I am developing an application that uses a QOpenGLWidget and that would greatly 
benefit from grabbing offscreen content.
I tried implementing grabbing but had no success but that's another story.

The new features of the upcoming Qt 5.10 mention:
"QOpenGLWidget is now usable for rendering and reading back (grabbing) 
offscreen content."
(https://wiki.qt.io/New_Features_in_Qt_5.10)

Can anyone elaborate on why this is currently not possible using Qt 5.9 and 
what changed in Qt 5.10?
Are there any workarounds in 5.9?

Best regards

Axel Jäger
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to