All of lore.kernel.org
 help / color / mirror / Atom feed
* Sharing Framebuffers between Client / Server
@ 2014-01-17 11:43 Rian Quinn
  2014-01-20 13:10 ` Rob Clark
  0 siblings, 1 reply; 6+ messages in thread
From: Rian Quinn @ 2014-01-17 11:43 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1115 bytes --]

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” way to do this is, such that I can support Intel’s proprietary driver, the open source AMD and NVidia drivers, and the VMWare driver (I have no need for the proprietary ADM/NVidia drivers right now). From what I can tell, GEM is one way to do this. The problem is VMWare doesn’t support GEM. 


I tried (knowing it would not work), using KMS to create the framebuffer, and then sending the information needed to mmap to the client. This of course failed because the framebuffer is marked non-sharable in the kernel. 


To be clear, I am fine having to manually write ioctls for each driver, if thats what it takes. But at this point, I am at a loss on the best method to share scannot buffers (or at least in a way that doesn’t make someone cringe when they see my code).


Thanks,
- Rian 


[-- Attachment #1.2.1: Type: text/html, Size: 1426 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-21  7:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 11:43 Sharing Framebuffers between Client / Server Rian Quinn
2014-01-20 13:10 ` Rob Clark
2014-01-20 13:22   ` Rian Quinn
2014-01-20 13:41   ` Thomas Hellstrom
2014-01-20 15:21     ` Rian Quinn
2014-01-21  7:37       ` Thomas Hellstrom

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.