Wide gamut and HDR support

How to do color management for wide gamut and HDR content?

I’m also interested in proper HDR support.
Currently the way iced_wgpu initializes I don’t see a way to configure the surface texture format in the default way to use the library

I’m assuming if you modify this example and set the surface texture format to wgpu::TextureFormat::Rgba16Float or wgpu::TextureFormat::Rgb10a2Unorm
https://github.com/iced-rs/iced/blob/master/examples/integration/src/main.rs#L108-L114

After that you’d probably need a hdr content source that you’ll have to render using iced an iced::widget::shader::Primitive

Note that I haven’t tested this I’m just assuming that this should work.