On Tue, Nov 23, 2010 at 7:56 PM, Robert Osfield <[email protected]>wrote:
> Hi Fred, > > On Tue, Nov 23, 2010 at 5:40 PM, Fred Smith <[email protected]> wrote: > > > > In my GL tracer, I can see the following warning: > > > > wglGetCurrentDC() > > wglGetExtensionsStringsARB(<hex value>) > > glGetString(...) > > glGetString(...) > > [...] > > glGetString(...) > > glGetQueryiv(GL_CURRENT_TIME_NV, GL_QUERY_COUNTER_BITS, <hex value>) > > OpenGL error GL_INVALID_ENUM detected > > > > I'm using a Radeon HD5000 graphics card, the call above is unsupported. > > I merged some improvements to the GPU timing codes from Tim Moore that > is must be failing on your system. We'll need to come up with better > detection of when the extension is supported properly. > The query is only made if the driver advertises that GL_ARB_timer_query is supported. According to my reading of the extension at http://www.opengl.org/registry/specs/ARB/timer_query.txt, QUERY_COUNTER_BITS should be a valid token in that case. I don't know what's going on there, but the call should only happen once. Tim > > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

