2003-2018 The Khronos Group Inc. eglCreateWindowSurface 3G eglCreateWindowSurface create a new EGL window surface C Specification EGLSurface eglCreateWindowSurface EGLDisplay display EGLConfig config NativeWindowType native_window EGLint const * attrib_list Parameters display Specifies the EGL display connection. config Specifies the EGL frame buffer configuration that defines the frame buffer resource available to the surface. native_window Specifies the native window. attrib_list Specifies window surface attributes. May be NULL or empty (first attribute is EGL_NONE). Description eglCreateWindowSurface creates an on-screen EGL window surface and returns a handle to it. The behavior of eglCreateWindowSurface is identical to that of eglCreatePlatformWindowSurface except that the set of platforms to which display is permitted to belong, as well as the actual type of native_window, are implementation specific. Errors See errors for eglCreatePlatformWindowSurface. See Also eglCreatePlatformWindowSurface, eglDestroySurface, eglChooseConfig, eglGetConfigs, eglMakeCurrent, eglQuerySurface