Android : updating texture buffer each frame on Android

on Monday, September 29, 2014


I need to update a texture from a byte buffer array each frame. I know about glTexImage2D but I am afraid it will be to slow. I have read a bit about textureView and textureSurface which allow to update a texture view dynamically from a camera or a stream (http://www.tutorialspoint.com/android/android_textureview.htm), but I didn't find anything on updating a textureSurface from a buffer array.


So any suggestions how I might be able to render dynamic textures on Android from a buffer array with a textureSurface ?


0 comments:

Post a Comment