sharing of ARB buffer objects

Hallo,

I must share buffer objects between different rendering contexts. In the ARB buffer objects documentation it says:

“Note, however, that sharing requires that
buffer objects be server (not client) state, since it is not
possible to share client state”

what does this mean, how can I enable server states ? And what about sharing other resources like textures ?

Thanks,
Rafael

I’m no expert but the regular glEnable sets server states and glEnableClientState sets client states.

Originally posted by shinpaughp:
I’m no expert but the regular glEnable sets server states and glEnableClientState sets client states.

As far as I know, only vertex arrays are considered client states, so glEnableClientState is a vertex array API function. But VBO are always server objects(like textures etc.) - they are not managed by client, so you shouldn’t have any problems with sharing them. If current drivers support this functionality. Why don’t you simply try?

buffers, display lists, and textures are all shared using wglShareLists() (or similar functions on other platforms).

Thank you for your comments.
wglShareLists() should solve my problem.