Niels Roest wrote:
> libdirectfb.so contains both master and slave code.
> 
> The first DirectFB application that is started will detect that it is 
> the first, and it will create the shared memory object and initialize 
> the 'fusion' library. All the next applications will find this shared 
> memory object and therefore assume that they are slaves.
> 
> The Master is the only application that is able to control non-shareable 
> resources. e.g. The graphics drivers must make sure that, if a slave 
> wants to access such a resource, the access request is passed to the 
> master application, which will perform the access.

Hi,

I have also difficulties running multiple applications. Can you give me a hint
what not to forget or point me to a working demo?

I compiled DirectFB in Multi-process core and every time I wanted to run the
second application (which actually run as single), it segfault'ed, ended, or
anything else but not worked. Therefore I tried also the SaWMan and again: I was
able to run the daemon (application manager) and then I wanted to execute those
2 given example slave apps and the first ran ok, but the second one ended
immediately.

I'm using the SH7723 gfx driver.

>
> The DirectFB-API is unaware of master/slave, so a user of DirectFB does
> not need to know the difference.

Here, how can one specify the region (playground) for the first app's output and
for the second app's output if they are unaware? This means, how is the demo
with 3 df_andi apps running in "windows" (separate rectangles) being done?

Thanks for help.

Best regards,
        Rene Pavlik
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to