[PATCH weston v6 03/12] compositor: Drop unneeded create_output callback

Pekka Paalanen ppaalanen at gmail.com
Mon Apr 18 09:05:42 UTC 2016


On Sun, 17 Apr 2016 16:35:03 +0300
Giulio Camuffo <giuliocamuffo at gmail.com> wrote:

> 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>

Yup, like I said in another email, I expect big changes to the way we
manage outputs in the future.

Since this is a simple independent change, pushed:
   b993998..e9b8a2b  master -> master


Thanks,
pq

> 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  
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160418/5163d279/attachment.sig>


More information about the wayland-devel mailing list