[Interest] QSurfaceFormat and swapInterval

Agocs Laszlo Laszlo.Agocs at digia.com
Wed Nov 6 13:42:13 CET 2013


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: interest-bounces+laszlo.agocs=digia.com at qt-project.org [interest-bounces+laszlo.agocs=digia.com at qt-project.org] on behalf of Peter Koek [peter_koek at hotmail.com]
Sent: Saturday, November 02, 2013 12:13 PM
To: interest at 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131106/a9898a13/attachment.html>


More information about the Interest mailing list