On Fri, Mar 26, 2004 at 10:29:39PM -0800, vivek wrote:
> Hi,
>   I want to use 2 layers for an application. ie, I
> need separate layer for video and graphics, which
> has to be displayed at a time.  
>  
>   Is there any way to write this type of application ?

Yes.

> Could any one help me ?

I'm not sure what you want. Basically you just get two layers and set them 
up. But note that this sort of thing won't work on all cards. Obviously 
you need a card and gfxdriver that support multiple layers. Depending on 
the hardware you can blend, use color keying or set screen location to get 
both layers visible. Your code should to check the layers' capabilities 
and select the appropriate method.

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


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

Reply via email to