jacereda
jacereda
I do have a quick and dirty proof of concept (based on microui) for something that could work but isn't ideal at https://github.com/jacereda/rui/ rui.c is a microui renderer that sends...
I have been exploring another approach and I think I can get cross-platform OpenGL rendering on the same process (no IPC). I've only tested the Linux side, I'll try to...

It's just linking statically against a modified https://github.com/jacereda/glcv and loading at runtime opengl32.dll and dwmapi.dll (for the transparency support). On Linux, libGL, libX11, libXrender and libXcursor.
And to lookup OpenGL functions I'm using a slightly modified Galogen file. The demo itself is from https://github.com/rxi/microui
I need some time to cleanup the mess and publish the whole thing in a not-so-embarrassing state.
For Mac I would just use native cocoa. The X11 server is a separate install and most people don't use it. As for talking directly to the X11 server, I...
I've noticed a problem with my approach. I build a dynamically-linked executable for this program: https://github.com/jacereda/cosmogfx/blob/main/helper.c The main executable will load this helper executable and jump to its entry point....
Hmmm, I guess I could just `readelf -p.interp $SHELL`?
Looks like `binutils` isn't installed everywhere. Any suggestion on how to figure out the dynamic linker path?