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. Performance comparison: eglfs and linuxfb in QWidget based applications
Forum Update on Monday, May 27th 2025

Performance comparison: eglfs and linuxfb in QWidget based applications

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 841 Views
  • 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.
  • J Offline
    J Offline
    jcsistemas
    wrote on 30 Oct 2018, 07:31 last edited by
    #1

    Hello,

    An application is acquiring data (from 12 sensors at 1KHz/sec) and displaying using in a custom graph widget.

    The mode this widget show the signals, is bar moving, meaning the signal is fixed and the new data arrived, is painted to the right side of the last data point. Similar to an oscilloscope or patient monitoring device.

    Specifically, the data is show in a paintEvent method of the QWidget class, using some methods from QPainter class [setRenderHint, setPen, setWindow, setViewport, drawPolyline].

    This application is running in a ARM device with linuxfb platform by default.

    My question is, if there is any benefit on using the eglfs platform when all the data is painted as described previously (using widgets)?.

    Any other approach to paint this data in real time is welcome.

    Thanks for any feedback,

    S 1 Reply Last reply 30 Oct 2018, 07:50
    0
    • J jcsistemas
      30 Oct 2018, 07:31

      Hello,

      An application is acquiring data (from 12 sensors at 1KHz/sec) and displaying using in a custom graph widget.

      The mode this widget show the signals, is bar moving, meaning the signal is fixed and the new data arrived, is painted to the right side of the last data point. Similar to an oscilloscope or patient monitoring device.

      Specifically, the data is show in a paintEvent method of the QWidget class, using some methods from QPainter class [setRenderHint, setPen, setWindow, setViewport, drawPolyline].

      This application is running in a ARM device with linuxfb platform by default.

      My question is, if there is any benefit on using the eglfs platform when all the data is painted as described previously (using widgets)?.

      Any other approach to paint this data in real time is welcome.

      Thanks for any feedback,

      S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 30 Oct 2018, 07:50 last edited by
      #2

      @jcsistemas said in Performance comparison: eglfs and linuxfb in QWidget based applications:

      My question is, if there is any benefit on using the eglfs platform when all the data is painted as described previously (using widgets)?.

      No. QWidgets are painted using raster engine and the platform plugin does not matter here. There is a big difference with QML, which is drawn using OpenGL.

      But you can always try - I can be wrong.

      What you can also try is to force OpenGL rendering for widgets. Might help even if the actual painting will still be done using CPU.

      (Z(:^

      1 Reply Last reply
      1
      • J Offline
        J Offline
        jcsistemas
        wrote on 2 Nov 2018, 06:38 last edited by
        #3

        Thanks for your feedback. Appreciated.

        1 Reply Last reply
        0

        1/3

        30 Oct 2018, 07:31

        • Login

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