Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QSurfaceFormat::setSwapInterval with negative parameter
Jacopo last edited by
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.
agocs last edited by
It doesn't. Intervals < 0 will be ignored.