Sharing GLContext's

I’ve never used the GLContext sharing capabilities built into jogl and I’m hesitant to write anything using it since it isn’t guaranteed that it will even work. I was wondering if anyone with experience in this matter know how likely the following situation would be able to have a successful sharing:

A desktop that has both the client and server side of the GL on the same graphics card, so just a basic home setup and not a fancy network/distributed workstation setup. I would create a GLCanvas and then share it’s GLCanvas with an even newer GLCanvas so that it can share things like vbo’s and textures.

Thanks

This should work fairly portably. I did recently run into a situation where Intel’s graphics drivers on Vista didn’t support sharing between two OpenGL contexts, which is pretty broken, but that’s the only occurrence I’m aware of.

Thanks, I’m not going to worry very much about vista, in my mind I just pretend that xp is still the latest windows out there.

Do you know the specifics on this problem? Any resolution? Do recent Intel drivers help?

I have a user who just switched to Vista with Mobile Intel 965 Express Chipset, driver version 7.14.10.1230, and it is apparently failing to share contexts, with an error code 0 out of WGL.wglShareLists

I believe that’s the same problem I ran into. If I were you I’d report this bug to Intel.

Actually I’ve raised this bug with a couple of contacts at Intel, but I haven’t heard anything from them in a while so I’d still recommend you file a bug with whatever web form or email address they have available.