Skip to content
  • Giulio Camuffo's avatar
    compositor: introduce struct weston_backend · 954f183e
    Giulio Camuffo authored and Pekka Paalanen's avatar Pekka Paalanen committed
    
    
    This is a preliminary change for libweston, with no functional modifications.
    Separate the backends and the core weston_compositor struct, by creating
    the weston_compositor in the main(), and having the various backends extend
    the weston_backend struct, an instance of which is returned by the backend
    entry point.
    This enable us to logically separate the compositor core from the backend,
    allowing the core to be extended without messing with the backends.
    
    Reviewed-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
    954f183e