[Qt-interest] qtopengl postredisplay?

shuda Li lishuda1980 at gmail.com
Mon Nov 2 07:27:13 CET 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091101/2ffc1042/attachment.html 


More information about the Qt-interest-old mailing list