eglGetCurrentSurface - return the read or draw surface for the current EGL rendering context
EGLSurface eglGetCurrentSurface(EGLint readdraw)
readdrawSpecifies whether the EGL read or draw surface is to be returned.
eglGetCurrentSurface returns the read or draw surface attached to the current EGL rendering context, as specified by eglMakeCurrent. If no context is current, EGL_NO_SURFACE is returned.
Copyright © 2003 Silicon Graphics, Inc.
This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.
eglCreatePbufferSurface, eglCreatePixmapSurface, eglCreateWindowSurface, eglMakeCurrent