Code example for EGL10

Methods: eglGetCurrentDisplay, eglGetCurrentSurface, eglSwapBuffers