http://bugreports.qt-project.org/browse/QTBUG-31939https://bugreports.qt-project.org/browse/QTBUG-31939
Some platform plugins, eglfs in particular, support setting swapInterval via
environment variables (QT_QPA_EGLFS_SWAPINTERVAL). Others do not. It should
definitely be added to QSurfaceFormat. It might be too late for 5.2 though.
Best regards,
Laszlo
From: interest-bounces+laszlo.agocs=digia@qt-project.org
[interest-bounces+laszlo.agocs=digia@qt-project.org] on behalf of Peter
Koek [peter_k...@hotmail.com]
Sent: Saturday, November 02, 2013 12:13 PM
To: interest@qt-project.org
Subject: [Interest] QSurfaceFormat and swapInterval
QGLFormat exposes a swapInterval property which can be used to enable vertical
synchronization (v-sync) to avoid screen tearing.
Why does QSurfaceFormat not expose this property? Currently, there is no direct
way to enable v-sync with QWindow, while QGLWidget did not have this problem.
What is the rationale for leaving this out?
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest