Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Need quick answer to a basic GUI question regarding to "QOpenGLWidget::frameSwapped" signal



  • Hi guys,

    I read documentation of "QOpenGLWidget Class" and have question about "frameswapped" signal:

    The signals aboutToCompose() and frameSwapped() will be emitted when the composition is starting and ending.

    Does it mean frameSwapped is emitted after widget gets updated with new content? Can I use "frameswapped" as render completed checker?

    Does "composition" means actual onscreen painting?


  • Lifetime Qt Champion

    Hi,

    AFAIK, from a quick look at Qt's sources, it indeed means that the rendering has been done.


Log in to reply