Probably not the way you want.

You can create windows on a layer, so you can work with e.g. 
transparancy, or show/hide.
Alternatively, you can 'grab' the control of the layer if you want to 
use it temporarily and then later 'switchcontext' back to the old user.

Note, "sharing" would be an interesting addition!
At the moment, DirectFB does not offer an interface to have two 
processes access the same layer/surface, but all the locking/sharing 
code is present, just a question of adding some API. So if you feel 
compelled.. :) CreateWindow/GetID/GetWindow is to share windows, you can 
use that as a starting point.

hth
Niels

Clark wrote:
> Hi,
>
> I'm running two processes: process 1 and process 2.
>
> I've created a primary surface on process 1 and I would like to access 
> this primary surface on process 2.
>
> Is it possible using the DirectFB API?
>
> Thanks in Advance.
> ------------------------------------------------------------------------
>
> _______________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>   


-- 

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------" 

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to