[Development] Is QGLWidget broken on Qt4/QPA?

Rafael Roquetto rafael.roquetto at kdab.com
Wed Jan 2 12:32:14 CET 2013


On Wed, Jan 02, 2013 at 09:31:21AM +0100, Samuel Rødal wrote:
> On 12/19/2012 05:34 PM, Rafael Roquetto wrote:
<snip>
> 
> You might be missing that a QGLWidget isn't used in combination with the 
> backing store :)
> 
> Painting happens with raw OpenGL directly to the QGLWidget and is 
> flushed when QGLWidget::swapBuffers() is called. It's of course possible 
> to use QPainter but in the end that will also get translated to OpenGL.
> 
> In Qt 5, QBackingStore and QOpenGLContext are two pretty much separate 
> ways of rendering to a QWindow.

Indeed, you are right! Thanks for the clarification!
Rafael
> 
> --
> Samuel
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

-- 
Rafael Roquetto | rafael.roquetto at kdab.com | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3721 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130102/937d3243/attachment.bin>


More information about the Development mailing list