In my quest to understand the intracacies of DirectFB, I have some more
quesitons.
These relate to high level conceptual issues, but also implementation
detail.
I'd appreciate any input on this area, as my understanding is not good at
the moment.
1. About SetVideoMode and multiple screens.
SetVideoMode only operates on the primary - is that correct?
There is only one primary in the 'system' and this is associated with a
specific layer on a specific screen?
So SetVideoMode will set the video mode for a specific screen?
If I had a system with multiple screens, how would I set the video mode for
each independently? Is this possible?
What is the purpose of the Encoder,Mixer and Output interfaces (per
screen), and how do these relate to SetVideoMode?
2. About Fusion.
Fusion exists to provide support for multiple user processes sharing access
to a single 'directFB runtime'. Is that correct?
For a system that expects only a single dfb process to run, or can
virtualise views of the hardware, Fusion is not required?
When Fusion is used, the first dfb process becomes the Master, and
subsequent dfb processes become Slaves.
If we consider a system with just two dfb processes running:
What components of each are shared?
- Just the system backend and gfxdriver?
- The dfb core?
- The surface manager?
Do both processes end up with their own mapped views of the video memory?
Where does the surface management occur? Does the Master provide surface
allocations for both processes?
How does the Slave app get a Lock onto a video surface?
About IDirectFB::SetCooperativeLevel; this describes how multiple DFB
processes interact? (Only one process can go fullscreen or exclusive.)
The dfb process could both have normal cooperative levels, but would then
have their own private primarys?
If the first dfb process goes fullscreen or exclusive, then the second can
not be run at all? Is that right?
Does that mean that two separate dfb processes can never both lock/work
with the same primary?
What about Layer surfaces - Do the two processes have a common view of the
systems layers' surfaces?
As always, thanks for any help.
Jason Barstow.
Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev