[PATCH weston v6 03/12] compositor: Drop unneeded create_output callback
Giulio Camuffo
giuliocamuffo at gmail.com
Sun Apr 17 13:35:03 UTC 2016
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 <giuliocamuffo at gmail.com>
2016-04-16 6:28 GMT+03:00 Bryce Harrington <bryce at osg.samsung.com>:
> Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
> ---
> 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
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list