Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Using accelerated cfb_imageblit and cfb_fillrect with linux frame buffer driver
Forum Updated to NodeBB v4.3 + New Features

Using accelerated cfb_imageblit and cfb_fillrect with linux frame buffer driver

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 393 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.
  • B Offline
    B Offline
    Boofish
    wrote on last edited by Boofish
    #1

    Hello,

    We are developing a product that uses Qt 4.8.7 on a board with a frame buffer driver, without a graphics card and a very slow CPU. Therefore we want to try all options available to speed up rendering as much as possible. Digging into qt code I've found that (if I'm not mistaken) it uses the linux frame buffer screen class which mmaps the /dev/fb0 device and then copies the pixels to it normally (qscreenlinuxfb_qws.h/cpp).

    Our driver though also provides dma accelerated functions, namely cfb_imageblit to do that same job. Doing an lsmod on the board shows that these modules are up and running so I should be able to use them. Does qt provide any options to use them or would I have to patch the source code somehow? If I have to patch, do you have any suggestions on which parts of the code I should be looking at?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      I would start by looking at the gfxdrivers plugins.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • B Offline
        B Offline
        Boofish
        wrote on last edited by
        #3

        That sounds promising, thanks @SGaist . I'll have a look at that.

        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