On 04/10/12 19:10, Alberich de megres wrote:
> Hello,
> Sorry to insist, but i am really confused about this.
> 
> I can see 2 ways:
> 1) app takes directfb object, and does everything:
> - creates, layer, window, etc, and shares the window surface through shm
> - clients only get the surface and paint to it, no dfb objects
> involved client app, only ipc/rpc
> 
> 2)
> each app gets their own dfb object, and using their local dfb object,
> create windows, surfaces, and share then to the server.

Applications are running in slave mode, i.e. they get read access to the
shared memory data structures and write access to pixel data (with secure
fusion enabled).

Creating windows, surfaces or making calls that change their state are
delegated to the master process (IPC).

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to