PDA

View Full Version : using single-buffering in GLES 2



guihazan
09-22-2012, 06:53 AM
Hi,

Is it possible to use a single buffer in opengl ES 2? I'm using eglSwapBuffers, but i would like to use a single buffer.

thanks

guich

carsten neumann
09-24-2012, 10:16 AM
Just like buffer swapping is outside the OpenGL ES specification, so is the buffer creation, that is handled by EGL (or maybe a platform specific API). See eglCreateWindowSurface (http://www.khronos.org/registry/egl/sdk/docs/man/xhtml/eglCreateWindowSurface.html) how to create a single buffered drawing surface.