Lindo Lonappan wrote:
Dear All,

I am using DirectFB-1.0.0.

From the code and Google, we found that IDirectFB interface is a
singleton one.
So the subsequent call to the DirectFBInit() will simply return without
changing any configuration
and DirectFBCreate() call will return a reference to first IDirectFB
handler.

Our questions are,

1. We are configured, DirectFB as single core mode(ie without any fusion
module).
     Is this is sufficient even if there is multiple
DirectFBInit/DirectFBCreate call from the same applications?

2. Can we control the z-order of windows in this case also?
    (The two windows are created from two different references)

3. If above is possible can any one lead me to the APIs for that?
    (Both at the time of Creating new window and at run time)

4. Is fusion always necessary if there is multilple applications over DFB?
    (I read, it is required for IPCs. Can anyone explain a little more
details)
You need fusion if you want to share common resources.
If you want to use the frame buffer, or the hardware acceleration of your GFX card, in more than one application simultaneously, you must use fusion.

5. Inside fusion module, there is a mmap() which using a flag MAP_FIXED.
    In our system the addresses it tries to map is already used by some
other one and we are not able to free that.
    So is there any way to change this fixed address need??
Yes, just take an address that is free. You only need to change a few lines.
I believe the SH system is already relying on a different area, check the changes. It is a design weakness to rely on a free area, but we have not had big problems with this in the past.


Thanks a lot for your valuable time.



--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to