Added support for eglWaitClient/eglWaitGL