[Qt-interest] qtopengl postredisplay?
_h_
hiralsmaillist at gmail.com
Mon Nov 2 08:36:16 CET 2009
you can call udpateGL() when ever required.
Thank you.
On Mon, Nov 2, 2009 at 11:57 AM, shuda Li <lishuda1980 at gmail.com> wrote:
> Dear All,
>
> I am currently trying to build an application using opengl in qt for which
> accurate bufferswaps (one for every opportunity) is critically important.
> Using glut, I can simply set wglSwapInterval(1); and use glutPostRedisplay
> after calling glutSwapBuffers to call my drawing function again.
> I have found the swapinterval setting in QT, but I am unable to have my
> PaintGL called automatically, I have to use a timer which jeopardizes swap
> accuracy (my framerate is not constant, i miss swaps sometimes).
>
> Is it possible to have PaintGL called automatically, without a timer?
>
> Best and thanks!
> Shuda
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091102/476b9b4e/attachment.html
More information about the Qt-interest-old
mailing list