EGL_KHR_gl_renderbuffer_image

Supported Hardware

Series5, Series5XT, Series6, Series6XE, Series6XT

Valid APIs

EGL 1.2, 1.3, 1.4

Description

This extension extends EGL_KHR_image_base and enables EGLImages to be created from a source renderbuffer from OpenGL. This particular extension string denotes that an EGLImage can be created from a renderbuffer. This extension is also required to create an OpenGL renderbuffer from an EGLImage when GL_KHR_image is supported in the implementation.

Note

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

Registry Link

http://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_gl_image.txt

Example

// Create an EGLImageKHR from an OpenGL ES Renderbuffer 
EGLImageKHR eglImage = eglCreateImageKHR(eglDisplay, eglOpenGLESContext, EGL_GL_RENDERBUFFER_KHR, (EGLClientBuffer)anOpenGLRenderbuffer, NULL);