I must say the approach you've taken in the x11 backend, passing all the configs at init time, is neat, but this leaves me wondering if we'll ever want to create an output after initialization... however i think until such need arises this is ok.
Reviewed-by: Giulio Camuffo <[email protected]> 2016-04-16 6:28 GMT+03:00 Bryce Harrington <[email protected]>: > Signed-off-by: Bryce Harrington <[email protected]> > --- > src/compositor.h | 8 -------- > 1 file changed, 8 deletions(-) > > diff --git a/src/compositor.h b/src/compositor.h > index 0ba00be..5ca497c 100644 > --- a/src/compositor.h > +++ b/src/compositor.h > @@ -691,14 +691,6 @@ struct weston_backend_config { > struct weston_backend { > void (*destroy)(struct weston_compositor *compositor); > void (*restore)(struct weston_compositor *compositor); > - /* vfunc to create a new output with a given name and config. > - * backends not supporting the functionality will set this > - * to NULL. > - */ > - struct weston_output * > - (*create_output)(struct weston_compositor *compositor, > - const char *name, > - struct weston_backend_output_config *config); > }; > > struct weston_compositor { > -- > 1.9.1 > > _______________________________________________ > wayland-devel mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
