QSurfaceFormat::​setSwapInterval with negative parameter



  • Good evening! I'm planning to port my graphic engine to Qt. Currently it is based on FreeGLUT, but Qt is of course a much more powerful toolkit.

    I make use of (GLX/WGL)_swap_control_tear extension through GLEW, it allows to use a negative swap interval. This is very useful to limit CPU usage without the risk of dropping the frame rate.
    Does Qt support it? QSurfaceFormat::setSwapInterval doc says nothing about it.



  • It doesn't. Intervals < 0 will be ignored.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.