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. DirectFB performance
Forum Updated to NodeBB v4.3 + New Features

DirectFB performance

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 1.6k 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.
  • J Offline
    J Offline
    Jean
    wrote on 14 Mar 2017, 10:23 last edited by
    #1

    Dear All,

    I'm use QT 4.8.7 and broadcom board.

    I want to use qt ui and directly call directfb api. (directfb version is 1.7.x)
    I could find to use both but there is lower performance problem.

    The performance is lower to call blit (directfb api) with QApplication.

    I mean 1 is twice faster than 2.

    1. call the blit function with QCoreApplication
    int main(int argc, char *args[])
    {
        QCoreApplication app(argc, args);
        DirectFBTest();
        return app.exec();
    }
    
    1. call the blit function with QApplication (-qws -display directfb)
    int main(int argc, char *args[])
    {
        int _argc = 4;
        char *_args[4] = {"test","-qws","-display","directfb"};
    
        QApplication app(_argc, _args);
        DirectFBTest();
        return app.exec();
    }
    

    Note: the function (DirectFBTest) is just rendering image and blit it to primary surface.

    Could you advise for me to improve the performace?

    Jean.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 Mar 2017, 22:19 last edited by
      #2

      Hi,

      Just an educated guess:
      Numer one is faster because there's nothing accessing the framebuffer at all while with number two there's QWS running which does use said framebuffer to do window management.

      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
      0
      • J Offline
        J Offline
        Jean
        wrote on 22 Mar 2017, 15:08 last edited by
        #3

        Dear SGaist,

        Yes, I guessed it as you mentioned.
        I just want to know how to optimize directfb performance why I asked the question.

        Thanks for relpying it :)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 22 Mar 2017, 20:39 last edited by
          #4

          Can you give more details about your use case ?

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

          C 1 Reply Last reply 10 Jul 2017, 10:39
          0
          • S SGaist
            22 Mar 2017, 20:39

            Can you give more details about your use case ?

            C Offline
            C Offline
            chengch512
            wrote on 10 Jul 2017, 10:39 last edited by
            #5

            @SGaist said in DirectFB performance:

            Can you give more details about your use case ?

            Hi SGaist,
            My issue is same with this, could you take a look at it? thansk!
            https://forum.qt.io/topic/81151/qt-directfb-performance-issue

            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