https://github.com/ocornut/imgui
https://github.com/lucasw/imgui_ros supersedes most of this.
The sdl opengl2 and 3 examples take up 400% cpu when run normally, but give these errors:
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
But when running as sudo they only take 2.0% cpu
https://bbs.archlinux.org/viewtopic.php?id=152824
Added self to video
group, which solved problem.
Also had forgotten was logged into this user from another user which owned the desktop.