Skip to content

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

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

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

Also makes sure that weston --backend=wayland --renderer=noop fails with an error message instead of segfaulting.

Based on !1293 (merged).

Edited by Philipp Zabel

Merge request reports