Implement generation for EGL and GLX