PDA

View Full Version : QGLFramebufferObjects



cueMan
2nd December 2010, 10:55
Hi,

Is there somekind of limit on QGLFramebufferObjects? I've created a 3D cube which has 2 fbo's per side (total 6 sides * 2 fbo). Two fbo's because one is for rendering and one is used as a texture on the object and they are blitted. The problem is that with a fairly powerful laptop (Lenovo T400) it works fine but when I try to run on a Lenovo ideapad S10-3t which has Meego installed on it, the program segfaults?

Does the fbo reserve video memory at init (if a memory issue) or is there somekind of meego specific restrictions on fbo's, or is this just my lucky day and no one knows? :rolleyes:

I am currently running Qt 4.7.1 with opengl desktop configuration, so I am trying now to configure it to use es2. But I'm afraid that won't help.

wysota
2nd December 2010, 10:58
Not every OpenGL implementation supports framebuffer objects. Use QGLFramebufferObject::hasOpenGLFramebufferObjects( ) to verify that.

cueMan
2nd December 2010, 13:25
FBOs and blitting are supported. Also was able to run qt3d's nesting example which uses fbos to render into a texture.

wysota
2nd December 2010, 17:22
Try finding out where it segfaults.