Skip to content

libweston, backends: pass backend parameter to weston_backend functions

Philipp Zabel requested to merge pH5/weston:pass-backend-not-compositor into main

Passing the backend as a parameter to the weston_backend function pointers seems natural. It will be useful once there can be more than one backend.

Since all backends already store a pointer to the compositor instance, just replace the compositor parameter with the backend in all functions.

Merge request reports