Re: [Interest] Reduce maximum frame rate with Qt5.3 beta

2014-04-28 Thread Stéphane Fabry
Hello, Thanks for all explanations, I was able to use QSurfaceFormat swapInterval and get the Qt5.2 behaviour back. So what i can see, on Windows platform, is when using vsync and moving the window around the desktop the application lags. If i set swapinterval to 0, and get higher frames

Re: [Interest] Reduce maximum frame rate with Qt5.3 beta

2014-04-20 Thread Joshua Kolden
A 60hz refresh rate is very common, but it is by no means the only sync rate in use. I would hope that qt does noting to limit frame rate! Only the user or os/display driver know if frame rate should be bound to the display refresh (“vertical sync”) AND if the refresh rate is 60hz or

Re: [Interest] Reduce maximum frame rate with Qt5.3 beta

2014-04-20 Thread Sean Harmer
On Saturday 19 April 2014 23:58:42 Joshua Kolden wrote: A 60hz refresh rate is very common, but it is by no means the only sync rate in use. Of course. That's why the QPA architecture abstracts this via the QPlatformScreen::refeshRate() function. Each platform can use this to return the

Re: [Interest] Reduce maximum frame rate with Qt5.3 beta

2014-04-20 Thread Sean Harmer
On Sunday 20 April 2014 02:50:50 Joshua Kolden wrote: On Apr 20, 2014, at 1:39 AM, Sean Harmer sean.har...@kdab.com wrote: The swapInterval() mentioned by Laszlo combined with this controls the refresh rate in the common case. Setting swapInterval to: * 1 enforces vsync * 0 turns