<div dir="ltr">It seems like prev<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 22, 2015 at 1:02 PM, Giulio Camuffo <span dir="ltr"><<a href="mailto:giuliocamuffo@gmail.com" target="_blank">giuliocamuffo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The backends used to have lots of code dealing with weston specific configs.<br>
To allow them to be used by other compositors with their own configurations<br>
remove all the usage of weston_config from the backends code and move it<br>
in weston.c.<br></blockquote><div><br></div><div>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.<br><br></div><div>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.<br><br></div></div></div></div>