Quoting Ji?? Svoboda ([EMAIL PROTECTED]):
> Hi,
> I have some questions (maybe I missed a lot in man)
> 1) How can I set position and size of layer in pixels - the function for
> positioning wants normalized values (yes I can take  screen res a and do
> calculation ... but is there another way?)

There's no other way. I didn't want to have two functions for that
when I added the location setting. But thinking about that again
would anyone mind an additional 'SetPixelLocation' function?

> 2) How can I switch Bes layer on and off - means to be visible and not
> (I want to keep the layer while is off)

You can the layer opacity to '0'. The surface won't be destructed.

> 3) Can be Bes layer flipped (with hw accel)?

You could flip the layer via 'IDirectFBSurface::Flip',
but it's currently unimplemented in the Matrox BES driver.
If you need it I can implement it.

> 4) How can I put under primary layer or do color keying over primary
> layer/surface
> I want to have some graphics/text over.

It's not possible to put the BES under the primary layer.
However the BES supports color keying based on pixels within
the primary layer, like destination color keying. DirectFB supports
color keying for layers using the 'source color keying' like version.
The destination based color keying has to be added to the API.

> 5) This more theoretic - could be possible to set second framebuffer as
> source for BES (eg. BES will be programmed to use same memory space)?

matroxfb devides the video memory into by two. It's not even possible
to access the second half by mapping only the first device.

> This leads to another question - is possible with DirectFB use more than
> one fb?

You can choose the device with the "--fbdev=<device>" option.
Using several devices simultaneously by one DirectFB session requires
many internal changes that are already planned. Once done it should be
possible to use the card like one with two outputs by utilizing both
framebuffer devices.
We are still thinking about the external API for multi head support.

-- 
Best regards,
  Denis Oliver Kropp

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

           convergence integrated media GmbH


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to