iced-rs / iced

A cross-platform GUI library for Rust, inspired by Elm
https://iced.rs
MIT License
23.93k stars 1.1k forks source link

Implement `iced_piet` renderer #1200

Open hecrj opened 2 years ago

hecrj commented 2 years ago

iced currently has 2 renderers: iced_wgpu and iced_glow. Both of them are built directly on top of relatively low-level graphics APIs (WebGPU and OpenGL, respectively).

It'd be great to build additional renderers on top of higher level abstractions. Doing this should help us get a better understanding of the current limitations of the library and maybe draw some inspiration to improve our graphics APIs (specially text!).

I believe we should start with a piet renderer. piet is a nice 2D graphics abstraction maintained by the folks from druid. I think relying on piet is a great opportunity to create a bridge of collaboration between the iced and druid ecosystem in the long run!

In order to achieve this, I see a couple of new subcrates:

Sherlock-Holo commented 2 years ago

@hecrj hello, is there a developing repo allow us to try the iced_druid and iced_piet?