http://bugreports.qt-project.org/browse/QTBUG-31939<https://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: [email protected] [[email protected]] on behalf of Peter Koek [[email protected]] Sent: Saturday, November 02, 2013 12:13 PM To: [email protected] 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 [email protected] http://lists.qt-project.org/mailman/listinfo/interest
