Hello everyone,
I wanted to share with you (once more) the release of Louvre v2.0.0 (C++ library for building Wayland compositors) #linux .
Highlights of the new features:
- Screencasting: Now compatible with PipeWire via xdg-desktop-portal-wlr.
- Session Lock Protocol: Allows for the display of login windows.
- Layer Shell Protocol: For wallpapers, panels, notifications, etc.
- New Input Events API: Enhanced with support for touch events, pointer gestures, and pointer constraints.
If there’s any protocol or functionality you would like to see added, please feel free to suggest it or contribute to its development!
Louvre is less modular but handles a lot of tedious tasks behind the scenes, providing a simple API (the enjoyable/creative part I’d say) without sacrificing much flexibility. On the other hand, Wlroots is excellent and highly modular, which is good, but it also means it places all the responsibility on you. You must invest time to fully understand each protocol and implement many tedious tasks yourself, which naturally takes quite some time. Additionally, Louvre is multi-threaded, as seen in the benchmark results in the repository, resulting in higher and more stable FPS compared to single-threaded designs when rendering complex scenes.