nanogui: framebuffer


Previous by date: 23 Jun 2008 15:03:09 -0000 Re: flashing cursor, Greg Haerr
Next by date: 23 Jun 2008 15:03:09 -0000 Re: framebuffer, mohanreddy.b
Previous in thread: 23 Jun 2008 15:03:09 -0000 framebuffer, mohanreddy.b
Next in thread: 23 Jun 2008 15:03:09 -0000 Re: framebuffer, mohanreddy.b

Subject: Re: [nanogui] framebuffer
From: "Greg Haerr" ####@####.####
Date: 23 Jun 2008 15:03:09 -0000
Message-Id: <023001c8d542$3ede1a00$6401a8c0@winXP>

:         Can i use two frame buffer devices(fb0 and fb1) for display screen
: at a time.i have two images to draw on to the display screen.i need to 
draw
: one image in fb0 and another one on fb1 device. is it possible display two
: images at a time.

No, nano-X only supports one display device at a time.



: if i make any change in 1st image then i need to redraw only fb0 device.

You could possibly run each server with a different FRAMEBUFFER=
environment variable.  They won't work concurrently, you'd have to run
the first, exit, then run the second.  This likely won't work well
if there needs to be communications between them.

Otherwise, you'll have to hack the server to allow communications
to another output device.  In some cases, this might be accomplished
by just changing psd->addr after opening the second device and
performing the ioctl to map it into server memory.  Then only
the address needs to be changed, a relatively simple operation
with a new opcode from the client.

Regards,

Greg 


Previous by date: 23 Jun 2008 15:03:09 -0000 Re: flashing cursor, Greg Haerr
Next by date: 23 Jun 2008 15:03:09 -0000 Re: framebuffer, mohanreddy.b
Previous in thread: 23 Jun 2008 15:03:09 -0000 framebuffer, mohanreddy.b
Next in thread: 23 Jun 2008 15:03:09 -0000 Re: framebuffer, mohanreddy.b


Powered by ezmlm-browse 0.20.