4 ms·
You should look at GUI via ImGUI if this is an opinion you hold. Immediate mode GUI creation. Very straightforward and just requires an OpenGL context (which c
by aspaceman 5y ago
You should look at GUI via ImGUI if this is an opinion you hold.
Immediate mode GUI creation. Very straightforward and just requires an OpenGL context (which can be software of course, so all CPU based if you want). A lot of games use it because it can be easily added as an additional layer to your final image (and is represented as just an image).
- swiley 5y agoSure and ImGUIs are extremely unpleasant to use in power/resource constrained environments. You should look at GTK+, motif, or TCL/Tk. They're very straightforward and don't turn people's devices into hand warmers.
- garaetjjte 5y agoGTK in resource constrained environment? Uh... Motif, along with X11 is just completely obsolete platform. (btw, this is what UHH thinks about it: "What Motif does is make Unix slow. Real slow.") There's some weird GPU hate in this thread that I don't quite understand. Try to render dragging content of 1080p window at 60fps on cheap mobile ARM core, and you will likely blow your whole time budget just on filling the window with solid color...
- aspaceman 5y agoIs this because they tend to heat up when you use a GL context? And the UI toolkits composite to the screen less often? I'm not a mobile developer so this is all new to me. Thanks for the info.