<br><div class="gmail_quote">On Tue, Jan 8, 2013 at 2:26 AM, Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, 07 Jan 2013 21:24:44 -0800<br>
kristof <<a href="mailto:saposcat@myopera.com">saposcat@myopera.com</a>> wrote:<br>
<br>
> I'm planning on creating a rather minimal Haskell based<br>
> compositor/window-manager for use with the Wayland display server<br>
> protocol. After some reading, I've come to the conclusion that I need to<br>
> create a Haskell API for the Wayland protocol by using the xml provided<br>
> (I'll be using the one from the 1.0.3 release), have a rendering library<br>
> that also has Haskell bindings (Cairo will serve nicely for this purpose,<br>
> which already has Haskell bindings available), and also create bindings<br>
> for xkb, before I can start working on the compositor and window-manager.<br>
> Am I missing anything?<br>
<br>
</div>Hi,<br>
<br>
maybe the EGL bits, if you plan to support hardware accelerated<br>
graphics on clients, but I think that's optional. Hardware accelerated<br>
clients will basically give you an EGLImage in the server, which you<br>
usually turn into GL textures.<br>
<br>
As for the language bindings, this might be of interest to comment on:<br>
<a href="http://lists.freedesktop.org/archives/wayland-devel/2012-December/006861.html" target="_blank">http://lists.freedesktop.org/archives/wayland-devel/2012-December/006861.html</a><br>
<br>
<br>
Thanks,<br>
pq<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</div></div></blockquote></div><br>Kristof,<br>I'm currently working on something similar in Java for the 
Android platform.  I'm getting close to the point where I can throw my 
java binding code up on GitHub in case that's helpful.  I'd love to see 
some of your thoughts on language bindings.  Haskell in particular would
 provide a different perspective on language binding that could prove very useful.  I also suggest you check out the link in pq's e-mail.<br>--Jason Ekstrand<br><br>