Re: [osg-users] GL_RENDERER string

2013-01-15 Thread Paul Martz
(Cross-posting to the osgWorks Google Group.) osgWorks r474 now has a singleton instance that allows apps to access GL_RENDERER and other values without a current context. To use this tool, do something like the following: osgwTools::Capabilities* caps = osgwTools::CapabilitiesSingleton:

Re: [osg-users] GL_RENDERER string

2013-01-15 Thread Paul Martz
Chris, you're right about the heterogeneous case. Current svn trunk HEAD of the osgWorks project has a couple tools that might help. There is a struct osgwTools::Capabilities that your app can invoke while any context is current (as in a Camera pre-draw callback). It obtains the GL_RENDERER s

Re: [osg-users] GL_RENDERER string

2013-01-15 Thread Chris Hanson
create the rendering > context. > > ** ** > > *Da:* osg-users-boun...@lists.openscenegraph.org [ > mailto:osg-users-boun...@lists.openscenegraph.org] > *Per conto di *Alistair Baxter > *Inviato:* martedì 15 gennaio 2013 10:47 > *A:* osg-users@lists.openscenegraph.org >

Re: [osg-users] GL_RENDERER string

2013-01-15 Thread Alistair Baxter
ter Inviato: martedì 15 gennaio 2013 10:47 A: osg-users@lists.openscenegraph.org<mailto:osg-users@lists.openscenegraph.org> Oggetto: [osg-users] GL_RENDERER string I'm wanting to get the GL_RENDERER string out of my OpenSceneGraph / Qt application for debug purposes, and potentially fo

[osg-users] GL_RENDERER string

2013-01-15 Thread Alistair Baxter
I'm wanting to get the GL_RENDERER string out of my OpenSceneGraph / Qt application for debug purposes, and potentially for showing to users for technical support purposes. I can get the likes of GL and GLSL version from the osg::GL2Extensions object, and I can see the renderer string being que