rerun icon indicating copy to clipboard operation
rerun copied to clipboard

Use less RAM: remove egui images from ImageStore

Open Wumpf opened this issue 3 years ago • 2 comments

This requires rendering the hover preview also with re_renderer

Safes us a ton of overhead and memory for everything with images!

Wumpf avatar Dec 09 '22 07:12 Wumpf

We could still use egui::Image if we register the texture id:s with egui_wgpu::Renderer (I know people do such things with the egui_glow backend). Not sure what is easiest, but worth inestigating imho.

emilk avatar Dec 12 '22 09:12 emilk

We could also consider never using egui::Image and instead use a 2D Space View when displaying images in the UI (or some other use of re_renderer). The advantage of that would be that the rendering of images would be more consistent, which will be important once we start supporting images outside of sRGB, and with increased bit depth, etc.

emilk avatar Feb 13 '23 11:02 emilk

Fixed during recent colormapping work.

teh-cmc avatar Apr 18 '23 09:04 teh-cmc