From fac399415452edba6f20986e5f8fa479863582fe Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 4 Oct 2025 09:29:56 +0200 Subject: config: add tweak.min-stride-alignment This allows the user to configure the value by which a surface buffer's stride must be an even multiple of. This can be used to ensure the stride meets the GPU driver's requirements for direct import. Defaults to 256. Set to 0 to disable. Closes #2182 --- config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.h') diff --git a/config.h b/config.h index 86fb2a8f..11439d3a 100644 --- a/config.h +++ b/config.h @@ -435,6 +435,7 @@ struct config { bool font_monospace_warn; bool sixel; enum shm_bit_depth surface_bit_depth; + uint32_t min_stride_alignment; } tweak; struct { -- cgit v1.3