Louvre 1.2: The Latest Library for Building Composite Servers with Wayland Integration

Available library release Louvre 1.2.0, which provides components for developing composite servers based on the Wayland protocol. The library takes care of all low-level operations, including managing graphics buffers, interacting with input subsystems and graphics APIs in Linux, and also offers ready-made implementations of various extensions of the Wayland protocol. A composite server based on Louvre consumes significantly less resources and demonstrates higher performance compared to Weston and Sway. The code is written in C++ and distributed by licensed under GPLv3. An overview of Louvre's capabilities can be read in the announcement of the first release of the project.

In the new version:

Advertisement

  • Added support for setting non-integer scale values ​​(fractional scale) and oversampling (oversampling) to reduce anti-aliasing artifacts when increasing the scale. The Wayland protocol is used for fractional scaling fractional-scale.
  • Using the protocol tearing-control The ability to disable vertical synchronization (VSync) with a vertical damping pulse, used to protect against tearing in full-screen applications, has been implemented. 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 protocol”viewporter“, which allows the client to perform server-side scaling and trimming of surface edges.
  • Methods have been added to the LPainter class for drawing texture areas with high precision and applying transformations.
  • The LTextureView class supports original rectangles (“source rect”, rectangular area to display) and transformations.
  • Added class LBitset to reduce memory consumption when storing flags and states.

Thanks for reading:

Advertisement