Re: [Interest] Mouse/Pen input latency in Qt Quick and render loop

2020-08-19 Thread Daljit Singh
Hi Andreas, the latency issue is platform independent (I have tested my application on Windows, Linux X11 and Android. When V-Sync is enabled, there is a noticeable delay on displaying the rendered frames. For example, on a 60hz monitor the delay can be up to 16ms. When VSync is turned off this

Re: [Interest] Mouse/Pen input latency in Qt Quick and render loop

2020-08-19 Thread Andreas Cord-Landwehr
Hi Daljit, do you work on Wayland or on X11? If you are on Wayland, the problem with the render loop sounds like: https://codereview.qt-project.org/c/qt/qtwayland/+/306305 Cheers, Andreas On Mittwoch, 19. August 2020 13:08:26 CEST Daljit Singh wrote: > To follow up on this, I was looking at the

Re: [Interest] Mouse/Pen input latency in Qt Quick and render loop

2020-08-19 Thread Daljit Singh
To follow up on this, I was looking at the source code for the renderloop in the Qt repositories and I found this comment here https://github.com/qt/qtdeclarative/blob/dev/src/quick/scenegraph/qsgrenderloop.cpp#L79: [https://avatars2.githubusercontent.com/u/159455?s=400&v=4]