How to access two frame buffers by single application.?
-
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.?? -
@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.