Ville Syrj�l� writes:
> On Sat, Jan 31, 2004 at 07:18:37PM +0100, Thomas Vander Stichele wrote:
> > > fuzziness two: layers, windows, and the multi-app core
> > > 
> > > scenario: i want a directfb application to run full screen and, on
> > > command, execute mplayer in a full-screen window while still
> > > allowing the application to display a transparent overlay.  i would
> > > think such would be possible, particularly if the transparent
> > > overlay (window) were atop mplayer's window with an global
> > > transparency of 0.  then, the overlay could be shown/hidden by
> > > adjusting the window's transparency.
> > > 
> > > the question: is this what the multi-app core is for?
> 
> multi-app core is for running multiple DirectFB applications
> simultaneosly. For example I usually run XDirectFB and run other apps
> from a terminal. Those apps include mplayer, DFBSee, UAE, and
> occasionally some stuff using SDL and/or OpenGL.

right.  this is what i gathered, though my experiments gave me reason
to believe otherwise.

> > > would i need DLSCL_ADMINISTRATIVE access to the layer in order to
> > > change mplayer's window?  will mplayer's directfb output driver
> > > cooperate with me on this?
> 
> I don't think vo_directfb supports output to a window. At least
> vo_dfbmga doesn't. Layers contain windows, not the other way around.

it was my understanding that directfb applications can run in a window
without any special support.  does vo_directfb not "support" output to a
window because it requests exclusive access to the layer or something
similar?

> Adding window support to vo_directfb wouldn't be too hard but then you
> might have to use software scaling or YUV->RGB conversion if the
> hardware doesn't support them. I think matrox is the only driver that
> supports both.

i have a lot of reading to do.  forgive my ignorance, i am very new to
this level of graphic technology.  i've been reading up on colorspace
definitions and what colorspaces are supported by popular hardware.

> With some hardware (cle266) you could make the overlay layer use alpha 
> blending so you could display the video on the overlay and the control 
> interface on the primary layer.

i'm still fuzzy on layers.  is the cle266 the only directfb driver that
has an overlay layer?  is the additional layer something supported
explicitly by the driver or an abstraction of segmented video memory?
is the radeon driver not capable of such an overlay layer?

sorry for asking a billion questions.  as i said, this is new to me, so
i'm in sponge-mode, trying to soak up as much information as i can.
i've exhausted the resources on the site as well as the code in the
directfb-examples package, and i'm still in sponge-mode.

thank you for your responses in this thread, they've been most helpful.
i need to get my hands on a nehemiah now.

-mike


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

Reply via email to