Replies: 1 comment
-
|
I noticed others have used EGUI with winit, that is something to be tried. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Wayland.
When I start even the hello world example with
cargo run --releaseit takes 271MB of memory.My target UI is just two text boxes and 5 labels, and the UI is only shown occasionally (project timing). I was able to run EGUI with 100MB of memory (by rendering only labels and textboxes), but that is still not very good in my opinion for this usecase.
It's notable that Smithay Wayland toolkit has example Wayland window that renders colorful gradient (and it can also animate) it uses 2MB of memory, and 4MB when animated.
Could I use EGUI for purely rendering, Smithay toolkit for other things somehow?
Beta Was this translation helpful? Give feedback.
All reactions