Re: Re: DirectFB Overlay Help

Darren Vincent Hart <[email protected]> 25 Jul 2003 11:34:13 -0600
Newsgroups gmane.comp.embedded.stk.gui.devel
Message-ID <1059154453.1071.7.camel@sway>
On Fri, 2003-07-25 at 10:07, Marc Strämke wrote:
> Darren Vincent Hart wrote:
> > I'm getting a little frustrated with the dfb overlay.  I don't think I
> > understand how DFBLayers come into play.  We only seem to have layer 0,
> If you only have layer 0 then your video card doesnt support overlays, 
> quite simple :) (or the driver doesnt, its the same too dfb)

1) What is the difference between a surface and a layer in the DirectFB
context?  

2) If I can't get a new hardware YUV surface, I should be able to have
xine convert to rgb and use an rgb surface.

3) Am I making a mistake to distinguish between overlays and surfaces in
libstk?  Perhaps create_surface should receive a format parameter, SDL
would create an SDL_Overlay, but DirectFB doesn't seem to distinguish
between surfaces and overlays.


> > even after I create another surface.  What are the layers for?  For som
> > reason after I blit the overlay's surface to the screen surface it isn't
> > showing up.  The video plays to completion (you can hear the audio) but
> > not a single frame is displayed.
> > 
> > The xine driver changed the configuration of layer 0 at each
> > frame_format_update, which seems wrong to me (and DFB agrees with me, it
> > won't accept the change - see commented out section of the overlay_dfb
> > constructor).
> > 
> > If anyone has more dfb experience than I and can shed a bit a light on
> > this I'd appreciate it.  
> > 
> > Thanks,
> > 
> > Darren
> 
> 
> 
> _______________________________________________
> Libstk mailing list
> [email protected]
> http://www.dvhart.com/cgi-bin/mailman/listinfo/libstk