
Originally Posted by
elanthis
Nope. EGL solves an entirely different problem.
EGL is basically a generalization of WGL/AGL/GLX, that is, it attempts to generalize context creation, to the extent that this is possible (it's not 100% possible, because e.g. on X11 you still need to know which Window you're creating the context for).
WF is an abstraction of layers like KMS and some of the other bits inside of DRI/Gallium3D that deal with getting the data in applications' windows onto the actual screen.
Very generally speaking: OpenGL hanldes the "draw this stuff to that framebuffer." EGL handles "attach this framebuffer to that window." WF handles "composite these windows onto that display."