Thursday, 12 September 2013

OpenGL ES2.0 glReadPixels() is very slow

OpenGL ES2.0 glReadPixels() is very slow

I am using glReadPixels to read the pixels from FBO to memory.
Here is the code:
UINT8* data;
glBindFramebuffer(GL_FRAMEBUFFER, FBOID);
glReadPixels(0, 0, w, h, GL_RGB, GL_UNSIGNED_BYTE, data);
I found this operation is very very slow... Is there any alternative in
openGL ES2.0(Android)?

No comments:

Post a Comment