Skip to content

libweston, backends: store backend pointer in struct weston_head

Philipp Zabel requested to merge pH5/weston:store-backend-on-head into main

Split out from !578 (merged), maybe this change can be reviewed and merged on its own.

Add a backend pointer to the struct weston_head, which allows compositor code to use opaque pointer comparison to determine whether a head belongs to a given backend. This will lets the compositor select the correct backend specific output configuration code.

Merge request reports