Results 1 to 6 of 6

Thread: Drawing to an offscreen buffer

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3

    Default Re: Drawing to an offscreen buffer

    Quote Originally Posted by wysota View Post
    Don't mess with such low level solutions. Instead turn on caching for your items - it will result in a performance boost which will probably be even better than using a framebuffer.
    I already use ItemCoordinateCache for all of my items.

    The problem is the animations are sucking a lot of CPU.

    To give you an idea of the application, it has 36 rotating images at 25 frames per second along with other static widgets and buttons.

    My target hardware is a 1 GHZ netbook with a via unichrome graphics chip.

    The above uses 90+% CPU.

    I can run Qt's framebufferobject2 example, texturing the quads with the same image used above and rotating them in the same way at 50 frames per second. And this uses only 15% or so CPU.

    That is the kind of gain I am looking for and the reason I thought getting frame buffers enabled would improve performance.
    Last edited by Dutch112; 5th May 2009 at 21:16.

Similar Threads

  1. Replies: 5
    Last Post: 21st March 2009, 09:10
  2. Problems with QString
    By cyberboy in forum Qt Programming
    Replies: 2
    Last Post: 13th October 2008, 08:18
  3. QImage buffer
    By rafaelsegundo in forum Qt Programming
    Replies: 3
    Last Post: 24th June 2008, 06:48
  4. Drawing graphs
    By steg90 in forum Newbie
    Replies: 4
    Last Post: 9th May 2007, 13:37
  5. Drawing on QWidget - strech & resize
    By kemp in forum Qt Programming
    Replies: 5
    Last Post: 22nd January 2007, 14:39

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.