Alexandre Julliard (@julliard) commented about include/wine/opengl_driver.h:
- PFNEGLCREATEWINDOWSURFACEPROC p_eglCreateWindowSurface;
- PFNEGLDESTROYCONTEXTPROC p_eglDestroyContext;
- PFNEGLDESTROYSURFACEPROC p_eglDestroySurface;
- PFNEGLGETCONFIGATTRIBPROC p_eglGetConfigAttrib;
- PFNEGLGETCONFIGSPROC p_eglGetConfigs;
- PFNEGLGETCURRENTCONTEXTPROC p_eglGetCurrentContext;
- PFNEGLGETCURRENTSURFACEPROC p_eglGetCurrentSurface;
- PFNEGLGETDISPLAYPROC p_eglGetDisplay;
- PFNEGLGETERRORPROC p_eglGetError;
- PFNEGLGETPLATFORMDISPLAYPROC p_eglGetPlatformDisplay;
- PFNEGLGETPROCADDRESSPROC p_eglGetProcAddress;
- PFNEGLINITIALIZEPROC p_eglInitialize;
- PFNEGLMAKECURRENTPROC p_eglMakeCurrent;
- PFNEGLQUERYSTRINGPROC p_eglQueryString;
- PFNEGLSWAPBUFFERSPROC p_eglSwapBuffers;
- PFNEGLSWAPINTERVALPROC p_eglSwapInterval;
I'd suggest to generate these from the xml spec like we do for the rest of OpenGL, so that the driver interface doesn't depend on configure checks.