Hi everybody,
I have a video-surveillance application wich needs to draw multiple (even 16 or more) video frames (already decoded), each of those at 25fps.
I have a few questions:
-Is it better to use one single big panel with one thread which every X milliseconds calls repaint() and then in the display method draws each new frame at the correct position, or use one panel/thread per video, each of those calls repaint() when a new frame is ready to be drawn?
-Is it faster the glDrawPixel() or using textures and glTexSubImage()?
-Are there performance gains using PBOs for storing the frame to be drawn?
I hope I was clear…
Thanks in advance!