Comment by flashfilter
1 day ago
A friend and I wrote a flash filter (to dampen screen flashes) with wgpu-hal and Rust. And I have to say it made the experience of writing cross graphics API compute shaders so much nicer. We tried using winit to create our overlay windows but found it didn't provide sufficient control over the created platform window so we ended up plain win32 and app-kit to handle our windowing.
Then the overlay window is controlled by a separate program via IPC. The control GUI is written with iced 0.14.0 (was originally done with gpui but it made the app significantly more complex and was giving us problems with our build pipeline (we were trying to setup full cross compilation in an amd64 linux container--have given up on getting macos in there for now but windows works)).
Not going to go too in depth on the filtering algorithm but I will say I am very thankful for the Rust ecosystem, the project would have been significantly harder without it. The app still has some bugs and we still haven't released our other shader variants or exposed some of the more advanced options so we're going to work on those for the time being.
No comments yet
Contribute on Hacker News ↗