diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-10-04 07:29:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-10-05 07:40:20 +0000 |
| commit | fac399415452edba6f20986e5f8fa479863582fe (patch) | |
| tree | ab7cd95c8fd2af7d3ca36c727191a9dac0dfa77d /tests | |
| parent | term: osc8: tag *all* cells in a multi-column character as an URI (diff) | |
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
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test-config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-config.c b/tests/test-config.c index 8c0805f4..64b61540 100644 --- a/tests/test-config.c +++ b/tests/test-config.c @@ -1413,6 +1413,9 @@ test_section_tweak(void) test_float(&ctx, &parse_section_tweak, "bold-text-in-bright-amount", &conf.bold_in_bright.amount); + test_uint32(&ctx, &parse_section_tweak, "min-stride-alignment", + &conf.tweak.min_stride_alignment); + #if 0 /* Must be equal to, or less than INT32_MAX */ test_uint32(&ctx, &parse_section_tweak, "max-shm-pool-size-mb", &conf.tweak.max_shm_pool_size); |
