i'm currently working on a system that uses video stream input to extract geometry, and then texture that geometry with the video frames. the trouble i'm having is that in order to do this, you must generate the textures on the fly. when i call glTexImage2D to generate a texture from my video camera, it takes roughly 1/5 of a second to create the texture (a 768x480 image being placed in a 1024x512 texture -- not rescaled, just placed in the lower left corner). this is just much too long, as it means that the max frame rate the app could sustain is 5fps, and that's if the rest of the program did nothing (which it obviously doesn't!). does anybody have any ways in which i could speed this process up -- taking a stream from a video camera and creating textures in real time? any thoughts would be greatly appreciated!