Re: [clutter] clutter for OSD
2008/9/9 Tomas Frydrych <[EMAIL PROTECTED]> > The compositor does that sort of thing automatically based on the window > types and window hints (though the exact behaviour would be dependent on > the specific compositor you use). > > Does it means that xcompmgr will automatically use the alpha value of my clutter application background ? If no, how could I set the window type and hints ? Thansk for all your valuable advices ;-)
Re: [clutter] clutter for OSD
Philippe ENTZMANN wrote: > If you want the OSD menu to be translucent, you > can either use the RPC approach suggested above to create it by the > process that owns the stage, or you need a compositor. > > Not sure to understand this (mostly because I never understood all the > composite stuff). > I have a simple X server running (without window manager nor desktop > manager). > How can I get a "compositor" running ?? Compositor is a separate application from the Xserver; for your purposes something like xcompmgr might be sufficient, or you could write your own using the XComposite extension. > I think I will have to tell the compositor to "compose" the output of my > background app and the output of my OSD app ? The compositor does that sort of thing automatically based on the window types and window hints (though the exact behaviour would be dependent on the specific compositor you use). Tomas -- To unsubscribe send a mail to [EMAIL PROTECTED]
Re: [clutter] clutter for OSD
2008/9/9 Tomas Frydrych <[EMAIL PROTECTED]> > Your simplest option is not to make the OSD menu fullscreen, and just > stack it over the stage. This approach is working fine. I stack my pyclutter application over my "background" application (an OpenGL game). > If you want the OSD menu to be translucent, you > can either use the RPC approach suggested above to create it by the > process that owns the stage, or you need a compositor. Not sure to understand this (mostly because I never understood all the composite stuff). I have a simple X server running (without window manager nor desktop manager). How can I get a "compositor" running ?? I think I will have to tell the compositor to "compose" the output of my background app and the output of my OSD app ?
Re: [clutter] clutter for OSD
Jason Tackaberry wrote: > On Sun, 2008-09-07 at 15:18 +0200, Mike Massonnet wrote: >> I had definitely say no. IMHO, you keep your default stage, and uses >> something like DBUS so that you can display specific messages onto the >> default stage. > > I wonder if it'd be possible to use tfp and redirect the XComposite > overlay window. Seems like exactly what the OP asked for ("fullscreen > transparent stage"), assuming it's possible. I am not sure I fully understood, but the overlay window cannot be transparent. You need a compositor to achieve the illusion of transparency, and the overlay window is the target window where the compositor creates that illusion, i.e., the overlay window itself cannot be composited. Your simplest option is not to make the OSD menu fullscreen, and just stack it over the stage. If you want the OSD menu to be translucent, you can either use the RPC approach suggested above to create it by the process that owns the stage, or you need a compositor. Tomas -- To unsubscribe send a mail to [EMAIL PROTECTED]
Re: [clutter] clutter for OSD
On Sun, 2008-09-07 at 15:18 +0200, Mike Massonnet wrote: > I had definitely say no. IMHO, you keep your default stage, and uses > something like DBUS so that you can display specific messages onto the > default stage. I wonder if it'd be possible to use tfp and redirect the XComposite overlay window. Seems like exactly what the OP asked for ("fullscreen transparent stage"), assuming it's possible. Cheers, Jason. -- To unsubscribe send a mail to [EMAIL PROTECTED]
Re: [clutter] clutter for OSD
Hi, Le Sun, 7 Sep 2008 14:18:46 +0200, "Philippe ENTZMANN" <[EMAIL PROTECTED]> a écrit : > Hello, > > I successfully use pyclutter as a menu/launcher for several OpenGL > applications. > The whole is running in straight X window (no window manager nor > desktop manager). > > I would like to use clutter too to display something "over" the > running OpenGL applications. > I tried xosd which is working fine but very limited. > > I wonder if this kind of OSD behaviour is possible with clutter ? > Is there a kind of fullscreen transparent stage ? > Is it in the scope of clutter ? I had definitely say no. IMHO, you keep your default stage, and uses something like DBUS so that you can display specific messages onto the default stage. I didn't look deep into the "clutter compositor" hack, but it sounds interesting... http://wingolog.org/archives/2008/07/26/so-you-want-to-build-a-compositor My 2 rants Mike -- To unsubscribe send a mail to [EMAIL PROTECTED]
[clutter] clutter for OSD
Hello, I successfully use pyclutter as a menu/launcher for several OpenGL applications. The whole is running in straight X window (no window manager nor desktop manager). I would like to use clutter too to display something "over" the running OpenGL applications. I tried xosd which is working fine but very limited. I wonder if this kind of OSD behaviour is possible with clutter ? Is there a kind of fullscreen transparent stage ? Is it in the scope of clutter ?