weston/doc/sphinx
Philipp Zabel 84c10124cd compositor: support loading backend via shortened name
While the --backend parameter looks like it takes a file name, it really
is selected from a list of supported strings that are then funneled
through a translation to enum weston_compositor_backend [1].

Because all backend parameters are of the form "...-backend.so", and
writing "--backend=...-backend.so" is boring, allow the --backend option
to match the backend name without "-backend.so" suffix instead.

For example, this allows to use "--backend=headless" instead of
"--backend=headless-backend.so".

Update help text and documentation. Keep the old way working for
backwards compatibility.

[1] 50dbf38514 ("libweston: use enum to choose the backend")

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
2022-12-08 17:39:12 +01:00
..
toc compositor: support loading backend via shortened name 2022-12-08 17:39:12 +01:00
conf.py.in doc/sphinx/conf.py.in: Remove year and use VERSION 2022-01-21 12:14:21 +00:00
doxygen.ini.in doc/sphinx: Make doxygen warn as error depend on meson werror flag 2022-09-23 11:37:06 +00:00
index.rst doc: update and move IVI-shell README to doc 2022-08-08 14:27:41 +00:00
meson.build doc/sphinx: Make doxygen warn as error depend on meson werror flag 2022-09-23 11:37:06 +00:00
run_doxygen_sphinx.sh.in doc: Avoid weston install useless documentation files 2020-12-09 14:53:00 +00:00