Sharing Framebuffers between Client / Server

2014-01-21 Thread Thomas Hellstrom
On 01/20/2014 04:21 PM, Rian Quinn wrote: > Yeah we looked into GDM. We already link into Mesa, but I was also > concerned about having to use GL to render into the buffers, as the > format of the buffer is (correct me if I am wrong) specific to the > graphics card (i.e. it's not a simple ARGB form

Sharing Framebuffers between Client / Server

2014-01-20 Thread Thomas Hellstrom
On 01/20/2014 02:10 PM, Rob Clark wrote: > On Fri, Jan 17, 2014 at 6:43 AM, Rian Quinn wrote: >> I am working on a client/server program, where the server creates (and has >> access to a framebuffer), and then needs to share this framebuffer with a >> client program so that this client program can

Sharing Framebuffers between Client / Server

2014-01-20 Thread Rob Clark
On Fri, Jan 17, 2014 at 6:43 AM, Rian Quinn wrote: > I am working on a client/server program, where the server creates (and has > access to a framebuffer), and then needs to share this framebuffer with a > client program so that this client program can draw into the framebuffer > directly (i.e. no

Sharing Framebuffers between Client / Server

2014-01-20 Thread Rian Quinn
Yeah we looked into GDM. We already link into Mesa, but I was also concerned about having to use GL to render into the buffers, as the format of the buffer is (correct me if I am wrong) specific to the graphics card (i.e. it's not a simple ARGB format which I need).? Could you point me to some

Sharing Framebuffers between Client / Server

2014-01-20 Thread Rian Quinn
Thanks for reply.? Actually in my case, when I say client/server, I mean replacement for X, so XShmPutImage won?t work. What we are trying to do is actually similar to Wayland, and need to provide each client with a scannot buffer for direct rendering, while at the same time, providing a means

Sharing Framebuffers between Client / Server

2014-01-17 Thread Rian Quinn
I am working on a client/server program, where the server creates (and has access to a framebuffer), and then needs to share this framebuffer with a client program so that this client program can draw into the framebuffer directly (i.e. no memcpy).? I am trying to figureout what the ?cleanest?