From 53b44ed270ab358c37071fa5e97cff832f2354bf Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 18 May 2026 00:21:36 +0300 Subject: [PATCH] docs: update dependencies and supported interfaces for `wl_shm` Signed-off-by: NotAShelf Change-Id: I212c3180a950755d0de4ee5134a924846a6a6964 --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ca3c1da..481650c 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,7 @@ comprehensive monitor management. Here's what makes Chroma stand out: ### Core Functionality -- **Memory-efficient**: Smart caching and resource management - - **Optimized rendering**: VBO dirty flagging and reduced GPU overhead +- **Memory-efficient**: Uses `wl_shm` shared-memory buffers - **Multi-monitor support**: Automatically detects and manages wallpapers for all connected displays - **Configurable scaling modes**: Fill, fit, stretch, and center options per @@ -27,13 +26,10 @@ comprehensive monitor management. Here's what makes Chroma stand out: thresholds - **Multiple image formats**: Supports JPEG, PNG, BMP, TGA, PSD, GIF, HDR, PIC, PPM, PGM -- **EGL/OpenGL rendering**: Hardware-accelerated wallpaper rendering - **Simple Configuration file**: Easy setup with TOML config files - **Signal handling**: Graceful shutdown and configuration reload (SIGHUP) - **Intelligent downsampling**: Automatically reduces large image resolution to save memory (up to 94% memory savings for 8K images) -- **Advanced filtering**: Nearest, linear, bilinear, and trilinear filtering - options ## Usage @@ -41,8 +37,7 @@ comprehensive monitor management. Here's what makes Chroma stand out: #### Dependencies -- **Wayland**: wayland-client, wayland-egl -- **Graphics**: EGL, OpenGL +- **Wayland**: wayland-client - **System**: glibc, libm, libdl #### Development Dependencies @@ -51,7 +46,6 @@ comprehensive monitor management. Here's what makes Chroma stand out: - Make - pkg-config - Wayland development headers -- EGL/OpenGL development headers See [development section](#development) for more details. This section might get outdated at any given moment, so refer to the Nix shell if in doubt. @@ -202,8 +196,8 @@ Chroma works with any Wayland compositor that supports: - `wl_compositor` interface - `wl_output` interface +- `wl_shm` interface - `zwlr_layer_shell_v1` (wlr-layer-shell-unstable-v1) interface -- EGL window surface creation The wlr-layer-shell protocol is required for creating wallpaper surfaces on the background layer. Tested only on Hyprland, but should work fine with any