intel / ozone-wayland

Wayland implementation for Chromium Ozone classes
BSD 3-Clause "New" or "Revised" License
219 stars 82 forks source link

Need help on shell display in weston #423

Closed madanagopalt closed 8 years ago

madanagopalt commented 9 years ago

Hi Team,

I am using ozone wayland in my project.I am able to get the browser content displayed in weston server from ozone wayland.

I am using XDG shell. I need solutions for below two requirements:

1, Do we have any way to configure XDG shell, so that it has way to display output as layers (i.e hide behind the main screen).Such that, it will be displayed only if i do hole punching in the top level window displayed from other weston connection. 2, In my output window in weston, i am seeing minimize and close option in title bar.Is it possible to provide display without title bar itself?. Please suggest a way to do it.

Please provide suggestions for above two requirements.Thanks.

Regards, Madan

kalyankondapally commented 9 years ago

Reg 1: Ya, we have support for XDG_SHELL, you can check here (OZONE_WAYLAND_USE_XDG_SHELL should be set in your env): https://github.com/01org/ozone-wayland/blob/master/wayland/shell/shell.cc#L62

Ha ignore this, mis understood your question.

kalyankondapally commented 9 years ago

Reg 2: Do you want to show it in Fullscreen ?

madanagopalt commented 9 years ago

Hi,

Thanks.

1, We are using XDG shell, using the option you have shared. But is it possible, to make it as a next layer of any top window seen in weston compositor?. In my case, top level window can be any (say qt window), but will be full screen.I will try to do hole punching in top window, so i can see the layer below it (which is the output from ozone wayland) . So, i need any configuration from ozone wayland, so it can be displayed as a layer behind any top screen.

2, No, i don't wan't to show full screen. Also, XDG shell output is having title title bar with close and minimize button. I don't want title bar itself and no minimize and close button. Please let me know do we have any ozone wayland configuration for that.

Thanks.

Regards, Madan

On Fri, Sep 18, 2015 at 9:01 AM, kalyan kondapally <notifications@github.com

wrote:

Reg 2: Do you want to show it in Fullscreen ?

— Reply to this email directly or view it on GitHub https://github.com/01org/ozone-wayland/issues/423#issuecomment-141333925 .

kalyankondapally commented 9 years ago

Hmm, I don't think 1) would be possible without a nested compositor setup. 2) We dont yet support TYPE_WINDOW_FRAMELESS which you are looking for. Not sure if crosswalk fits your use case better (Crosswalk is a web run time and uses ozone-wayland internally on wayland). @rakuco should be able to give input on this. Also, I haven't found a run time flag in chromium to create a frameless window. We have Embedded mode which actually would create a frame less window but that is a stripped down version of the browser. Let me know if this interests you, you can try it out by adding embedded=1 to your GYP_DEFINES.