Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to access two frame buffers by single application.?
Forum Updated to NodeBB v4.3 + New Features

How to access two frame buffers by single application.?

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 1.4k 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.
  • A Offline
    A Offline
    aekam
    wrote on last edited by
    #1

    Hello,
    I am developing a UI application in which we have two display monitors, each having different frame buffers in system.
    Now I wish to have access to both the frame buffers from my single application.
    Is there any provision for this.??

    If you take care of inches, you won't have to worry about miles... :)

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bobythomas
      wrote on last edited by
      #2

      @QWSServer *server = QWSServer::instance();
      QScreen *screen = QScreen::instance();
      server->enablePainting(false);
      screen->shutdownDevice();
      screen->disconnect();
      screen->connect("/dev/fb2");
      screen->initDevice();
      server->enablePainting(true);
      server->refresh();
      @
      default is /dev/fb0. This code will start to use /dev/fb2.

      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