Hi Michele,

The OSG manages extensions on a per StateAttribute level, with each
subclassing needing extensions maintaining its own Extension structure
pre graphics context.  Note each graphics context can have different
extensions support, although this is not the usual setup, it worth
being aware of.  Once the extension structure is set up (done the
first time that attribute is called by the graphics context) you can
querry the extension supported from any thread.

You can also the osg::isGLExtensionSupport(char*) method from a thread
with graphics context current if you have a specific extension you
want to check.

Given the above GLEW won't actually give you anything extra.

Robert.


On Dec 11, 2007 3:28 PM, Michele Bosi <[EMAIL PROTECTED]> wrote:
> Is there a way using OSG to know if a given extension is supported.
> Using libraries like GLEW isn't going to create linking conflicts or
> problems to OSG?
>
> Thanks,
> Mic
> _______________________________________________
> 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

Reply via email to