Rendering to EGLDevice
These are the steps to render to an EGL device (more detailed steps follow):
- Create an EGL display from an EGL device.
- Create an EGL context from the EGL display.
- Create an EGL stream producer surface.
- Bind a GL context to the stream surface, i.e. make current.
- Post the surface contents to the stream using swap buffers.