<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, May 31, 2017 at 1:54 PM, Quentin Glidic <span dir="ltr"><<a href="mailto:sardemff7+wayland@sardemff7.net" target="_blank">sardemff7+wayland@sardemff7.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 5/31/17 2:37 PM, adlo wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Is libweston 1.0 good enough for writing a compositor?<br>
</blockquote>
<br></span>
Yes, but each major version is adding or changing API to make it simpler to write a compositor. Specifically, libweston 2 has introduced a much nicer output API, thanks to Armin’s GSoC work.<span class="gmail-"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Are there any tutorials or simple examples for writing a compositor using any version of libweston?<br>
</blockquote>
<br></span>
I think someone started something, but it’s probably outdated by now.<br>
<br>
One advice I’d have to give is to use libweston-desktop, that abstract a lot of protocol stuff and just let you manage toplevel surfaces without worrying about shell protocols, popups and other boring things like that. :-)</blockquote><div><br></div><div>I compiled my own libweston by hand, but when I try to run my compiled Weston on a nested GNOME Wayland-on-Wayland session, I get the error message <span style="font-size:12.8px">"Failed to load module: /lib/libweston-3/wayland-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">backend.so: cannot open shared object file: No such file or directory". Any ideas on why this is happening?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Regards</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">adlo</span></div></div><br></div></div>