Rendering Textures wont work!


I’m currently using glDrawPixels to draw images on screen. My application requires me to swap 24 image/sec. I found that glDrawPixels is a little bit to slow. I tried to implement a new method based on loading everything to textures and drawing a QUAD, but I cant get this to work.

Basically my load method works with a framenumber like: loadImage( int numerOfFrame );

What is the best way to load images like this? I need the speed, faster=better!

Anyone? Some code would be great! Im using arrays like imageData[frameNumber] to store the data.


  • Joda