Files
niri/niri-visual-tests
Ivan Molodetskikh 3ace97660f Implement gradient color interpolation option (#548)
* Added the better color averaging code (tested & functional)

* rustfmt

* Make Color f32 0..1, clarify premul/unpremul

* Fix imports and test name

* Premultiply gradient colors matching CSS

* Fix indentation

* fixup

* Add gradient image

---------

Co-authored-by: K's Thinkpad <K.T.Kraft@protonmail.com>
2024-07-16 07:22:03 +00:00
..
2024-02-06 09:40:45 +04:00
2024-06-29 08:39:13 +04:00
2024-02-06 09:40:45 +04:00

niri-visual-tests

Note

This is a development-only app, you shouldn't package it.

This app contains a number of hard-coded test scenarios for visual inspection. It uses the real niri layout and rendering code, but with mock windows instead of Wayland clients. The idea is to go through the test scenarios and check that everything looks right.

Running

You will need recent GTK and libadwaita. Then, cargo run.