EGL_KHR_surfaceless_context

Supported Hardware

Series5, Series5XT, Series6, Series6XE, Series6XT

Valid APIs

EGL 1.0, 1.1, 1.2, 1.3, 1.4

Description

Applications that do not want to use any sort of main framebuffer, currently still need to create an EGLSurface to make a context current. EGL_KHR_surfaceless_context adds the ability to create a context without a surface, primarily for applications outside of OpenGL ES where interop is required. It is also useful for OpenGL ES applications that wish to perform purely off-screen rendering into framebuffer objects, but the OpenGL ES context has to support GL_OES_surfaceless_context as well for it to be compatible.

Note

This functionality is core to EGL 1.5, so the extension is no longer needed.

Registry Link

https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_surfaceless_context.txt

Example

// Make a context current without any surfaces 
eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, context);