Skip to content

backend-x11: Prepare for more renderers, reject no-op

Philipp Zabel requested to merge pH5/weston:x11-renderer-prep into main

Turn the Pixman/GL if/else conditionals into switch cases to make it easier to add support for others renderer in the future.

Also makes sure that weston --backend=x11 --renderer=noop fails with an error message instead of starting with the GL renderer.

Based on !1293 (merged).

Merge request reports

Loading