[PATCH weston 04/11] make the backends compositor-neutral

Bill Spitzak spitzak at gmail.com
Mon Jun 22 17:52:14 PDT 2015


It seems like prev

On Mon, Jun 22, 2015 at 1:02 PM, Giulio Camuffo <giuliocamuffo at gmail.com>
wrote:

> The backends used to have lots of code dealing with weston specific
> configs.
> To allow them to be used by other compositors with their own configurations
> remove all the usage of weston_config from the backends code and move it
> in weston.c.
>

It seems like the previous version allowed the backend to decide on the
name, type, and number of config options that it understood, while this
requires the main program to have all that knowledge. Thus it does not seem
as good.

Just because it is a weston_config structure does not mean it has to
contain the contents of a weston configuration. A different compositor
could just extract any backend-specific details from it's own configuration
database and write a dummy weston_config containing them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150622/5d68b860/attachment.html>


More information about the wayland-devel mailing list