[osg-users] PBuffer causing error when profiling on Linux

Jeremy Smith Jeremy.S.Smith at leidos.com
Thu Jun 8 09:24:26 PDT 2017


Hi,

I am trying to profile my Linux application using the NVIDIA Linux Graphics Debugger, but I get an error when I perform a frame capture that the 'glXCreatePbuffer' command is not supported. This command is located in osgViewer/PixelBufferX11.cpp.

>From my research it seems that PBuffers have been deprecated in OpenGL and that FBOs should be used instead. This is probably why the debugger doesn't support it.

My question is: Can OSG be configured to use FBOs for the X11 viewer? If not, does anyone have a suggestion on how to modify PixelBufferX11.cpp to use FBOs?

I'm using OSG 3.4.0 and CentOS 7.

Thank you!
Jeremy

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=71026#71026








More information about the osg-users mailing list