PDA

View Full Version : QGLWidget and GL Frame Buffer Object



ArlexBee-871RBO
18th August 2010, 00:49
Greetings,

I'm learning OpenGL, and I need to understand the Qt wrapper a little bit better. It's kind of hard to follow the sample codes in the books that I'm reading because they don't use Qt, and I can't be sure what Qt is doing behind the scenes.

I have a program that renders images using the CPU. The rendered frames stay in local memory, and, later on, will need to be displayed on the screen one at a time for animation. So, say I have 100 frames, and I need to draw them on the screen as fast as possible (i.e., hardware accelerated). That's where QGLWidget comes into play.

Question: Does QGLWidget internally use OpenGL Frame Buffer Object? or will I need to create a frame buffer object and write each frame to it before displaying?