public boolean isCurrent ( EGLSurface eglSurface ) { return mEGLContext . equals ( EGL14 . eglGetCurrentContext ( ) ) && eglSurface . equals ( EGL14 . eglGetCurrentSurface ( EGL14 . EGL_DRAW ) ) ; }
Returns true if our context and the specified surface are current .