Just a minor question:
I assume that eglBindApi sets the API for the current context, is that right? So a eglBindApi before a valid eglMakeCurrent will always return an error.
I’m a bit worried because the only source that calls eglBindApi is from the OpenVG reference code, and it calls eglBindApi right after eglInitialize (which does not make much sense unless the current API is per thread, not per context).
Could someone please shed some light on this?