Results 1 to 2 of 2

Thread: Poor OpenGL performance

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2009
    Posts
    56
    Thanks
    14
    Thanked 1 Time in 1 Post

    Default Poor OpenGL performance

    I found that the OpenGL update performance is very poor. With one small window you can get 30 FPS. But with two windows, or if you are doing anything else such as reading SQL, it drops to half that.

    I moved the readng SQL part to another thread, and even the openGL calls to another thread. But it was the same. So after some testing, I found the problem is QWidget::updatesEnabled(); which is returning true about 15 times a second, or worse with multiple windows.

    Is there a way to force window updates to happen more often?

    ------

    Disregard, the texture has to be a power of 2 or performance is horrible when you bind the texture.
    Last edited by rakkar; 3rd September 2009 at 19:38.

Similar Threads

  1. Increase QPainter performance
    By travelan in forum Qt Programming
    Replies: 3
    Last Post: 3rd July 2009, 11:52
  2. QT core lib performance?
    By Quentin in forum Qt Programming
    Replies: 1
    Last Post: 31st January 2009, 09:17
  3. Performance Issues in Qt-4.4.3 / Qwt-5.1.1
    By swamyonline in forum Qt Programming
    Replies: 2
    Last Post: 25th January 2009, 17:50
  4. Qt4 poor printing performance
    By seneca in forum Qt Programming
    Replies: 4
    Last Post: 22nd January 2009, 14:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.