On Wed Feb 28 08:37:49 2024 +0000, Rémi Bernon wrote:
I think you should instead check and require the `EGL_KHR_client_get_all_proc_addresses` extension (though I don't know for sure how widely available it is, I think for now we can assume it is). This will let you use `eglGetProcAddress` for everything, including for GL core functions, and will save you the trouble of having to check and load libGL separately.
This should be fine (and very nice) to use with Mesa, but I can't find much direct information about NVIDIA and AMD proprietary support, and that's what's been holding me back a bit. Searching again I was able to find a few references to this extension in various relatively old online reports for the proprietary drivers, so I guess let's go with it and hope for the best :)