Hi,
With OpenGL you can do asynchronous texture transfer using a PBO, as described here: http://www.opengl.org/registry/specs...fer_object.txt
Code :glGenBuffers(1, &texBuffer); glBindBuffer(GL_PIXEL_UNPACK_BUFFER_ARB, texBuffer); glBufferData(GL_PIXEL_UNPACK_BUFFER_ARB, texSize, NULL, GL_STREAM_DRAW); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, texWidth, texHeight, 0, GL_BGRA, GL_UNSIGNED_BYTE, NULL);
However there is no such thing as "GL_PIXEL_UNPACK_BUFFER_ARB" on OpenGL ES. Is it possible to use PBO for texture transfer on OpenGL ES ? I can only find example with VBO.



Reply With Quote