Skip to content

Commit 0c9db24

Browse files
msisovCommit Bot
authored andcommitted
ozone: Update ozone docs
This reflects current status of Wayland and X11 support through ozone. Change-Id: I7544ac9ea41dcb76c16c02dfaa26e4d11120838a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1913244 Reviewed-by: Robert Kroeger <rjkroege@chromium.org> Commit-Queue: Maksim Sisov <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#718044}
1 parent 9b09fb6 commit 0c9db24

File tree

1 file changed

+34
-7
lines changed

1 file changed

+34
-7
lines changed

docs/ozone_overview.md

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,29 +247,56 @@ This platform is used for
247247

248248
This platform provides support for the [X window system](https://www.x.org/).
249249

250+
The support for X11 is being actively developed by Igalia and the chromium
251+
community and is intended to replace the current legacy X11 path.
252+
253+
You can try to compile and run it with the following configuration:
254+
255+
``` shell
256+
gn args out/OzoneX11 --args="use_ozone=true"
257+
ninja -C out/OzoneX11 chrome
258+
./out/OzoneX11/chrome --ozone-platform=x11
259+
```
260+
250261
### Wayland
251262

252263
This platform provides support for the
253264
[Wayland](http://wayland.freedesktop.org/) display protocol. It was
254265
initially developed by Intel as
255266
[a fork of chromium](https://github.com/01org/ozone-wayland)
256267
and then partially upstreamed.
257-
It is still actively being developed by Igalia both on the
258-
[ozone-wayland-dev](https://github.com/Igalia/chromium/tree/ozone-wayland-dev)
259-
branch and the Chromium mainline repository, feel free to discuss
260-
with us on freenode.net, `#ozone-wayland` channel or on `ozone-dev`.
268+
269+
Currently, the Ozone/Wayland is actively being developed by Igalia in
270+
the Chromium mainline repository with some features missing at the moment. The
271+
progress can be tracked in the [issue #578890](https://crbug.com/578890).
261272

262273
Below are some quick build & run instructions. It is assumed that you are
263274
launching `chrome` from a Wayland environment such as `weston`. Execute the
264-
following commands (make sure a system version of gbm and drm is used, which are
265-
required by Ozone/Wayland by design, when running on Linux platforms.):
275+
following commands (make sure a system version of gbm and drm is used, which
276+
are required by Ozone/Wayland by design, when running on Linux platforms.):
266277

267278
``` shell
268-
gn args out/OzoneWayland --args="use_ozone=true use_system_minigbm=true use_system_libdrm=true"
279+
gn args out/OzoneWayland --args="use_ozone=true use_system_minigbm=true use_system_libdrm=true use_xkbcommon=true"
269280
ninja -C out/OzoneWayland chrome
270281
./out/OzoneWayland/chrome --ozone-platform=wayland
271282
```
272283

284+
Native file dialogs are currently supported through the GTK toolkit. That
285+
implies that the browser is compiled with glib and gtk enabled. Please
286+
append the following gn args to your configuration:
287+
288+
``` shell
289+
use_ozone=true
290+
use_system_minigbm=true
291+
use_system_libdrm=true
292+
use_xkbcommon=true
293+
use_glib=true
294+
use_gtk=true
295+
```
296+
297+
Feel free to discuss with us on freenode.net, `#ozone-wayland` channel or on
298+
`ozone-dev`, or on `#ozone-wayland-x11` channel in [chromium slack](https://www.chromium.org/developers/slack).
299+
273300
### Caca
274301

275302
This platform

0 commit comments

Comments
 (0)