Added gamma correction, and the ability to hook into the Vulkan context with your own widget.
In this case, it renders to the whole framebuffer, but brightens the widget's area.

The widget is like any other, so it requests a redraw every 16ms, just like any other animated widget via a `Subscription`.

#iced #rustlang #rust #vulkan #marpii

For text rendering I reuse #cosmic 's cosmic-text for the most part, as well as the #etager crate for glyph-packing.

I couldn't reuse the #glyphon crate, since it is too #wgpu specific, so I implemented a (simpler) version of its glyph caching and rendering on top of #marpii. I'm actually quite happy with the result. Working with fonts / text-shaping has come a long way in #rustlang since my last encounter some years back..

Text seems to work, and the analytical AA was trivial to implement (just smooth-step the opacity value based on your distance at the edges).

I'm currently playing around with the borders by exaggerating them. Those big borders look kinda cute 🥺 .

#iced #rustlang #rust #iced_rs #vulkan #marpii

Working on an Iced renderer for my Vulkan layer "MarpII".

So far, I got the quad renderer working (including rounded corners). Batches of quads are also cached, so re-rendering the same layout doesn't cost that much.

#rust #rustlang #iced #iced_rs #vulkan #vulkanapi #marpii