Add GL sync support to GLES2.