<div dir="ltr"><div><div><div><div>Hello Michael,<br></div>I'm interesting by your library. I began a wayland compositor for very light devices with little processor like ARM9 and without GPU.<br></div>I will read your code with interest and look if I can use your library. If I can help you, I will contact to you in few weeks.<br>
</div>Regards,<br></div>Marc.<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/24 Michael Forney <span dir="ltr"><<a href="mailto:mforney@mforney.org" target="_blank">mforney@mforney.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I've been working on a Wayland compositor off and on for around a year<br>
now, and I think I'm now at the point where others might find it useful.<br>
<br>
swc[0] is implemented as a library, with an API[1] suitable for creating<br>
a window manager. It was designed primarily with tiling window managers<br>
in mind. Currently, it cannot move or resize windows with the mouse, so<br>
as of now, perhaps it is only usable by tiling window managers. This<br>
also means that unless you want to write the window manager piece, it<br>
might be tricky to try out.<br>
<br>
swc is by no means as feature-complete as weston. Most of this is<br>
intentional, but there are a few things that remain to be completed:<br>
<br>
- No clipboard integration with xwayland<br>
- Window state transitions still need work<br>
- No DPMS support<br>
- No monitor arrangement/positioning<br>
<br>
libswc itself is currently under 6k SLOC, and is also fairly lightweight<br>
in terms of dependencies: wayland, libdrm, libevdev, libxkbcommon,<br>
pixman, wld.<br>
<br>
Optionally, libudev can be used to support hotplugging of input devices,<br>
and xcb/xcb-util-wm can be used for xwayland support.<br>
<br>
One big difference between swc and many other compositors is that swc<br>
does not use OpenGL or EGL to do the actual compositing. In fact, it has<br>
no dependency on mesa at all. Instead, it does copies and fills using my<br>
basic drawing library, wld[2]. However, this means that currently, if<br>
you don't have an Intel GPU, compositing will fall back to using dumb<br>
buffers and pixman (though, if you are interested in the project and<br>
have knowledge about nouveau or radeon, I welcome patches!). I also may<br>
implement an OpenGL backend in the future.<br>
<br>
There is a bit more general information in the README.md file in the git<br>
repository.<br>
<br>
Last but not least, everyone likes demo videos, right?<br>
<br>
<a href="http://www.youtube.com/watch?v=5thcLnLHkjs&hd=1" target="_blank">http://www.youtube.com/watch?v=5thcLnLHkjs&hd=1</a><br>
<br>
All clients featured in the video are native Wayland clients except for<br>
chromium and xclock.<br>
<br>
Any comments or questions are welcome. You can also find me on freenode<br>
under the nick tridactyla.<br>
<br>
[0]: <a href="https://github.com/michaelforney/swc" target="_blank">https://github.com/michaelforney/swc</a><br>
[1]: <a href="https://github.com/michaelforney/swc/blob/master/libswc/swc.h" target="_blank">https://github.com/michaelforney/swc/blob/master/libswc/swc.h</a><br>
[2]: <a href="https://github.com/michaelforney/wld" target="_blank">https://github.com/michaelforney/wld</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Michael Forney <<a href="mailto:mforney@mforney.org">mforney@mforney.org</a>><br>
_______________________________________________<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>
</font></span></blockquote></div><br></div>