You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linux: Add ozone support as an alternative to X11 #1989
CEF currently has a dependency on X11 that makes it difficult/impossible to run on alternative Window Managers (WMs) such as Wayland. Chromium currently supports alternative WMs using the Ozone platform [1]. CEF will add support for Ozone as follows:
Make the X11 dependency a compile-time option.
Expose the Ozone API as a way for client applications to support alternative WMs.
Provide an example implementation of the Ozone API in CEF sample applications for at least Wayland.
The scope of this issue is to support Ozone only on the Linux platform. In the future support may be extended to other platforms, in which case it may resolve issue #1006 (support rendering to a hardware GL/D3D texture/surface provided by the client).
Original comment by ArmsOfSorrow (Bitbucket: ArmsOfSorrow).
I'd like to port Blink/CEF to Sailfish OS (ARM Linux based on Mer, EGL/Wayland for graphics) because the default browser seems very much outdated. That'd make it substantially easier.
Also, I like new and shiny stuff on desktop, too (or anything that gets rid of X, really).
The ozone-wayland project is currently working to upstream their changes [1]. Once complete that will hopefully make it possible to build CEF for Wayland (instead of X11) without requiring any special ozone implementation in the client.
I'm very interested in this and therefore I have some questions/findings:
As there is no views::DesktopWindowTreeHost, but a aura::WindowTreeHostPlatform implementation for Ozone, I assume that views won't be used for this?
Do you already have an rough idea of how this exposure of the Ozone API may look like?
The Ozone platform does not support parenting/nesting of windows. Where is this platform dependent code going to take place?
The third point seems to be quite complicated for Wayland, because you can not share surfaces between Wayland connections. This means that there has to be a way to pass a connection from the client application to CEF and down to the Ozone platform.
Activity
magreenblatt commentedon Sep 16, 2016
Original comment by ArmsOfSorrow (Bitbucket: ArmsOfSorrow).
I'd like to port Blink/CEF to Sailfish OS (ARM Linux based on Mer, EGL/Wayland for graphics) because the default browser seems very much outdated. That'd make it substantially easier.
Also, I like new and shiny stuff on desktop, too (or anything that gets rid of X, really).
magreenblatt commentedon Sep 16, 2016
The ozone-wayland project is currently working to upstream their changes [1]. Once complete that will hopefully make it possible to build CEF for Wayland (instead of X11) without requiring any special ozone implementation in the client.
[1] https://bugs.chromium.org/p/chromium/issues/detail?id=578890
magreenblatt commentedon Nov 4, 2016
Updated Ozone documentation: https://chromium.googlesource.com/chromium/src/+/master/docs/ozone_overview.md
magreenblatt commentedon Dec 1, 2016
Original comment by Anonymous.
I'm very interested in this and therefore I have some questions/findings:
The third point seems to be quite complicated for Wayland, because you can not share surfaces between Wayland connections. This means that there has to be a way to pass a connection from the client application to CEF and down to the Ozone platform.
magreenblatt commentedon Apr 28, 2017
magreenblatt commentedon Nov 8, 2017
Duplicate of #2296.
magreenblatt commentedon Nov 8, 2017