Results 1 to 10 of 10

Thread: OpenGL status and efficiency in Qwt

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2016
    Posts
    57
    Thanks
    4
    Qt products
    Qt5
    Platforms
    Windows

    Question OpenGL status and efficiency in Qwt

    Several questions:

    1) The QwtPlotGLCanvas is based on QGLWidget, correct? And QGLWidget is now obsolete and there is a new class - QOpenGLWidget, will the QwtPlotGLCanvas be reworked to use a newer class then? If Yes, will there be any real improvement in speed for example?

    2) is QwtPlotGLCanvas using a QPainter in order to draw to OpenGL?

    3) Is there now some ongoing work with further testing/improvement of the OpenGL capabilities of Qwt library?

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,312
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: OpenGL status and efficiency in Qwt

    In SVN trunk you find more OpenGL based options including a canvas derived from QOpenGLWidget.

    Nevertheless don't expect too much, as the implementation is not yet complete and the quality of all OpenGL paint engines offered by Qt is not comparable to other backends. IMO the best and most performant backend for Qwt on the market is Qt4/X11 - hardware accelerated and without known bugs.

    Concerning your question about QPainter: allmost all Qt chart packages will be QPainter based, simply because this is mandatory for creating PDFs. Not doing QPainter means, that you would have to implement 2 completely different backends or have to drop PDF or printing. Nothing that makes much sense beside you want to focus on specific use cases like an oscilloscope etc.

    But even with the scene graph don't expect, that hardware acceleration will always be the best solution. Depending on the use case you will have different conclusions, when comparing CPU vs. GPU rendering. Better trust on good algos reducing what has to be painted - instead of challenging the hardware.

    Uwe

Similar Threads

  1. efficiency
    By szisziszilvi in forum Newbie
    Replies: 2
    Last Post: 5th January 2011, 17:31
  2. Replies: 3
    Last Post: 8th July 2010, 07:41
  3. Efficiency Question
    By winston2020 in forum Qt Programming
    Replies: 1
    Last Post: 20th January 2009, 20:02
  4. The efficiency of QtAlgorithm
    By calmspeaker in forum Qt Programming
    Replies: 1
    Last Post: 19th September 2008, 06:52
  5. Efficiency is the name of the game
    By baray98 in forum General Programming
    Replies: 7
    Last Post: 19th September 2007, 20:03

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.