dear Dennis,

you answered the relationship between screen and layer, but 

  1)how is the relationship between layer and Window on a screen?
  2)how is the relationship between surface and layer on a screen?
 3)how is the relationship between surface  and Window on a screen?

Regards,
Yunfeng

----- Original Message ----- 
From: "Denis Oliver Kropp" <[EMAIL PROTECTED]>
To: "Jason BARSTOW" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Friday, May 19, 2006 8:36 AM
Subject: Re: [directfb-users] Screens - Layers - SetVideoMode.


> Jason BARSTOW wrote:
> > 
> > 
> > 
> > I have some conceptual questions:
> > 
> > a) What is the relationship between layers and screens.
> >       I see one can enumerate layers from a screen interface, and given a
> > layer it's possible to retrieve its screen.
> >       => Relationship Screen 1 : N Layers.
> 
> That's right.
> 
> > b) How would one set a video mode for an arbitrary screen?
> >       For IDirectFB::SetVideoMode: The primary surface is attached to a
> > layer and this is present on a given screen; it is that screen that is
> > affected in this case. Correct?
> >       But is it possible to set the mode directly for any screen? There are
> > methods via IDirectFBScreen to set mixer, encoder and output
> > configurations, but I don't see any explicit resolution or timing
> > structure.
> >       Or is this implicit from the layer dimensions - which layer? Is it
> > the 'primary layer' on each screen?
> 
> Well, in the very beginning there was only the frame buffer device based
> primary layer implementation. Using the fbdev ioctls also changed the
> screen resolution. That's still true for the fbdev primary layer, but
> other implementations really just implement layer control. The only
> indication of the screen size so far is the tv standard selection, but
> the screen API is not finished...
> 
> -- 
> Best regards,
>    Denis Oliver Kropp
> 
> .------------------------------------------.
> | DirectFB - Hardware accelerated graphics |
> | http://www.directfb.org/                 |
> "------------------------------------------"
> 
> _______________________________________________
> directfb-users mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
> 
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to