Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt5 QSplitter : slow performance with OpenGL
Forum Updated to NodeBB v4.3 + New Features

Qt5 QSplitter : slow performance with OpenGL

Scheduled Pinned Locked Moved General and Desktop
3 Posts 1 Posters 4.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Faizol
    wrote on last edited by
    #1

    HI all,

    I just tested adding OpenGL to a splitter using three different objects (one at a time);
    QGLWidget, QGLVIew and QOpenGL, and all of them resulted in slow performance and Qt sent a message "QBackingStore::flush() called with non-exposed window, behavior is undefined" to the console, even with a straight forward QGLWidget object. This is in Qt5.

    The same QGLWidget code was also tested in Qt4 and I didn't experience any lagging at all in interaction.

    What could be the problem? Or should we attach an OpenGL canvas differently?

    Thanks.

    Best Regards,
    Faizol

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Faizol
      wrote on last edited by
      #2

      hi all,

      I just posted a question in the game development section regarding Qt5 splitter and OpenGL;

      I couldn't delete the previous post so I 'll just link it here as this is about Qt5 and I believe it'll get more response here.

      (http://qt-project.org/forums/viewthread/21339/)

      I just tested adding OpenGL to a splitter using three different objects (one at a time); QGLWidget, QGLVIew and QOpenGL, and all of them resulted in slow performance and Qt sent a message “QBackingStore::flush() called with non-exposed window, behavior is undefined” to the console, even with a straight forward QGLWidget object. This is in Qt5.

      The same QGLWidget code was also tested in Qt4 and I didn’t experience any lagging at all in interaction. What could be the problem? Or should we attach an OpenGL canvas differently?

      To the MOD, sorry for the double postings and I couldn't find the way to delete the previous post. Can the previous post be deleted?

      Many Thanks.

      [[Merged these two threads as the poster obviously intended to move the first one, Tobias]]

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Faizol
        wrote on last edited by
        #3

        Hi all,

        the regression is done and verified;

        https://bugreports.qt-project.org/browse/QTBUG-27734
        Change By : Samuel Rødal (14/Nov/12 3:21 PM)
        Status : Verified
        Fix Version/s: 5.0.0 RC 1

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved