I have fallen to the problems of compile context and sharing lists (wglShareLists, glXCreateContext(x,x,true,x)).

They share display lists, VBO/IBO, shaders, textures, FBO, PBO.
But how is it with rendering capabilities, e.g. is OSG compile context and "shared" OpenGL context guaranteed to have the same OpenGL version and the same extensions available? I am looking for general case that include systems with several various graphics cards or even remote rendering setups with OSG.

For example, I may create OpenGL 4.0 style shader in compile context because it indicates that OpenGL 4.0 is available, but can I relay on a presumption that rendering context will support OpenGL 4.0 as well?

Or even worse scenario - the user may specify arbitrary context for sharing in traits. Will it break above mentioned things?

Thanks,
John

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to