Single-Buffering with EGL

Hi,
I’m working with EGL on Windows Mobile 5, and currently have a double-buffer setup. What do I need to do to make it single-buffer instead?

When rendering OpenGL ES from EGL to a window surface, back-buffered behavior is required by the specification (OpenVG rendering has slightly different constraints). So they probably is no way to do this.

If you want to mix native (GDI or whatever Windows Mobile uses) rendering with ES rendering, the recommended paths are to render through ES, SwapBuffers, then render native. Or render into a pixmap surface, which is required by the specification to be single-buffered. Or hope there’s some vendor extension defined to give you other alternatives.