MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

Name

eglGetCurrentSurface — return the read or draw surface for the current EGL rendering context

C Specification

EGLSurface eglGetCurrentSurface( EGLint readdraw);
 

Parameters

readdraw

Specifies whether the EGL read or draw surface is to be returned.

Description

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

Copyright © 2003-2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.