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 rates,

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 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 vsync

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 r

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

2014-04-19 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 something

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

2014-04-19 Thread Agocs Laszlo
Fra: Thiago Macieira<mailto:thiago.macie...@intel.com> Sendt: ‎19.‎04.‎2014 19:00 Til: interest@qt-project.org<mailto:interest@qt-project.org> Emne: Re: [Interest] Reduce maximum frame rate with Qt5.3 beta Em sáb 19 abr 2014, às 13:20:11, Stéphane Fabry escreveu: > Hello, >

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

2014-04-19 Thread Thiago Macieira
Em sáb 19 abr 2014, às 13:20:11, Stéphane Fabry escreveu: > Hello, > > I saw something strange, if you try a simple QtQuick application with Qt > 5.3 and measure the fps, it seems now limited to 60fps where i could > reach > 200fps with Qt5.2 > Is it normal and if yes why ? It's normal. Your scre

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

2014-04-19 Thread Stéphane Fabry
Hello, I saw something strange, if you try a simple QtQuick application with Qt 5.3 and measure the fps, it seems now limited to 60fps where i could reach > 200fps with Qt5.2 Is it normal and if yes why ? Further I have my QtQuick application (4-5 tabs filled with qtquick controls) that lags