why not allow another process access to share memory of xvfb?

Keith Packard keithp at keithp.com
Thu Jun 10 06:36:40 PDT 2010


On Thu, 10 Jun 2010 15:10:52 +0800, xin zhang <xing5820 at gmail.com> wrote:

>     Why not add a param which allows user pass a string to produce IPC key,
> and create share memory
>     with the key, then other process will really access to the frame buffer.

Xvfb used to do precisely this, and it was frankly quite useful for
debugging as you could examine the framebuffer contents even while the
server was stopped in gdb.

Of course, you don't get any guarantee about what you'll get if you read
directly from the frame buffer, but with the damage extension, you
should be able to eventually get all of the updates to the screen.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100610/f642e4d6/attachment.pgp>


More information about the xorg-devel mailing list