2013-09-13 20:28:19 UTC
"Client API function pointers returned by eglGetProcAddress are independent of the display and the currently bound client API context, and may be used by any client API context which supports the function."
But how can this be? Suppose a system contains two physical displays, driven from two different video cards produced by different manufacturers with different drivers. The function pointers obtained for a context bound to screen A would point to the driver for video card A, whereas those for a context on screen B would point to the driver for video card B, violating the requirement. This would seem to imply that some sort of 'stub' code would have to be provided by EGL to perform a dispatch into the 'real' code based on the current context, defeating the whole point of the extensions to begin with.
Can anyone provide any clarifications?