Thanks. Very answered my question.
John

Robert Osfield wrote:
Hi John,

On Wed, Oct 6, 2010 at 1:45 PM, PCJohn <[email protected]> wrote:
I see, sharing context is not so portable...

I implemented them under Linux with NVidia drivers and they worked as
expected, but with other drivers and other OS's reports back from the
community haven't been so positive, so it looks like it's a feature
that driver developers don't put much effort in to make sure it's
solid.


Anyway, I see them used at least for compile contexts. Does it mean that
compile contexts and background compiling is not recommended to be used in
general? Or at least on Linux and Windows? I had impression they are used
for PagedLOD...

The DatabasePager will utilize a CompileContext if you've set them up
explictly, but if you haven't it won't use them instead compiling the
GL objects from a time slot given to it by the various graphics
threads with the associated graphics contexts/windows.


My original problem came from question whether all osg::GraphicsContext with
the same contextID supports exactly the same OpenGL/GLU/WGL/GLX extensions.

If they don't support all the same features then the contextID should
not be the same, but this assumes that the contexts and sharing of
contextID have all be set up correctly.

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

Reply via email to