Louvre 1.2.0, a library providing components for developing compositing servers based on the Wayland protocol, is now available. The library handles all low-level operations, including managing graphics buffers, interacting with input subsystems, and graphics APIs. Linux, and also offers ready-made implementations of various Wayland protocol extensions. The composite server, built on Louvre, consumes significantly fewer resources and demonstrates higher performance than Weston and Sway. The code is written in C++ and distributed under the GPLv3 license. An overview of Louvre's capabilities can be found in the project's first release announcement.
In the new version:
- Added support for setting non-integer scale values (fractional scale) and oversampling (oversampling) to reduce anti-aliasing artifacts when increasing the scale. For fractional scaling, the Wayland protocol fractional-scale is used.
- Using the tearing-control protocol, it is possible to disable vertical synchronization (VSync) with a vertical damping pulse, used to protect against tearing in full-screen applications. In multimedia applications, artifacts due to tearing are an undesirable effect, but in gaming programs, artifacts can be tolerated if dealing with them causes additional delays.
- Added support for gamma correction using the Wayland protocol wlr-gamma-control.
- Added support for the Wayland "viewporter" protocol, which allows the client to perform scaling and cropping actions on the surface's edges on the side. Server.
- Methods have been added to the LPainter class for drawing texture areas with high precision and applying transformations.
- The LTextureView class provides support for source rectangles (“source rect”, a rectangular area for display) and transformations.
- Added the LBitset class to reduce memory consumption when storing flags and states.
Source: opennet.ru
