Thank you, <span class="gD">Jørgen. </span><span class="gD">I will definitely look at </span>QtCompositor<span class="gD">. </span><span class="gD">It is surprising that you release it under the BSD license. I thought that the non-commercial QT was under a modified LGPL. Anyway, it's nice to see that the QT team is not resting on its laurels and actually pursuing innovative directions like Wayland. <br>
Thanks,<br>Nick<br></span><br><div class="gmail_quote">On Thu, Jul 12, 2012 at 6:59 AM, Jørgen Lind <span dir="ltr"><<a href="mailto:jorgen.lind@gmail.com" target="_blank">jorgen.lind@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mikalai<br>
<div><div class="h5"><br>
On 12 July 2012 08:03, Mikalai Kisialiou <<a href="mailto:kisialiou@gmail.com">kisialiou@gmail.com</a>> wrote:<br>
> Juan, Jonas and Christopher,<br>
><br>
> I appreciate your feedback! Small additions to shells are indeed not a<br>
> problem. It was not a right example to make my point. As it is now, Weston<br>
> can be considered barebone since the code base is small. The question is how<br>
> long it will stay that way, given some interest from Canonical to integrate<br>
> it into Ubuntu QQ or RR (hopefully QQ) and potentially other distros.<br>
><br>
> Please, let me give you another example of what I'm trying to do (without<br>
> going into application specifics that you are unlikely to be interested in).<br>
><br>
> Suppose that you want to develop your own Wayland compliant server<br>
> (W-server) that can render in 3D. Due to renderer's complexity you<br>
> anticipate that the compositor will grow quite a bit and that will pose<br>
> significant problems for future testing.<br>
><br>
> So, before you start out, you want to set up another very simple compositor<br>
> whose job is _not_ to composite but to _test_ functionality and speed of the<br>
> graphics driver stack, X as a client, some other hardware, client's<br>
> compliance to Wayland protocol, and so on. The purpose of such a W-server is<br>
> to have a regression system that checks dependent _libraries_and_drivers_<br>
> rather than your 3D compositor. If something goes wrong with client's<br>
> rendering (e.g. too slow, visual artifacts) you can use that "regression<br>
> compositor" to quickly identify if the problem stems from some upgraded or<br>
> buggy drivers. This will save you a lot of debugging effort and time.<br>
><br>
> The barebone version of Weston is the perfect candidate for the "regression<br>
> compositor". It doesn't need several full featured clients or shells to<br>
> minimize risk of injecting bugs. It only needs to include the minimal<br>
> architecture plus a set of driver/library test codes. It does need to be<br>
> relatively stable and up-to-date with the latest Wayland protocol changes<br>
> and some critical bug fixes though.<br>
><br>
> I hope the above example illustrates one of several potential applications<br>
> for the barebone compositor. The point here is not to get rid of useful<br>
> features from Weston. They are surely needed when I use Weston as a _user_.<br>
> The above example uses the compositor as a _tester_ with predefined<br>
> composite screen objects.<br>
><br>
> Does it make sense or am I making things more complicated than they should<br>
> be?<br>
> Thanks,<br>
<br>
</div></div>I think you should also have a look at QtCompositor[1]. Like Weston,<br>
Qt has its interfaces to abstract away the input and the output. So we<br>
used these interfaces to create a compositor API. The project has 3<br>
very basic examples compositors which shows how you can use different<br>
rendering techniques to make your compositor. If you have a look at<br>
the code, it should also be easy to see how you can easily add your<br>
special extensions if you need it.<br>
<br>
We follow Wayland master quite close and as it speaks Wayland, any<br>
Wayland client should be able to map its surfaces on screen.<br>
<br>
Jørgen<br>
<br>
[1] <a href="http://qt.gitorious.org/qt/qtwayland" target="_blank">http://qt.gitorious.org/qt/qtwayland</a><br>
</blockquote></div><br>