egui/crates
Nicolas 2024295f78
Make ImageLoader use background thread (#5394)
This is the same change as in #4069 but as this is stale I wanted to
reopen a non stale PR

Modifies ImageLoader's load function to use background threads for the
image decoding work. This avoids blocking the main thread that is
especially noticeable when loading many images at once.

This was modelled after the other loader implementations that also use
threads.

* Closes <https://github.com/emilk/egui/issues/5375>
* [x] I have followed the instructions in the PR template

---------

Co-authored-by: lucasmerlin <lucasmeurer96@gmail.com>
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2025-03-25 10:17:31 +01:00
..
ecolor Add assert messages and print bad argument values in asserts (#5216) 2025-03-25 09:20:29 +01:00
eframe Add assert messages and print bad argument values in asserts (#5216) 2025-03-25 09:20:29 +01:00
egui Add assert messages and print bad argument values in asserts (#5216) 2025-03-25 09:20:29 +01:00
egui-wgpu Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00
egui-winit Fix text input on Android (#5759) 2025-03-21 14:35:46 +01:00
egui_demo_app Make ImageLoader use background thread (#5394) 2025-03-25 10:17:31 +01:00
egui_demo_lib Add assert messages and print bad argument values in asserts (#5216) 2025-03-25 09:20:29 +01:00
egui_extras Make ImageLoader use background thread (#5394) 2025-03-25 10:17:31 +01:00
egui_glow Add assert messages and print bad argument values in asserts (#5216) 2025-03-25 09:20:29 +01:00
egui_kittest Improve text sharpness (#5838) 2025-03-21 12:56:47 +01:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Add assert messages and print bad argument values in asserts (#5216) 2025-03-25 09:20:29 +01:00
epaint Add assert messages and print bad argument values in asserts (#5216) 2025-03-25 09:20:29 +01:00
epaint_default_fonts Release 0.31.1 - text_edit and kittest fixes 2025-03-05 08:37:34 +01:00