cginternals / globjects

C++ library strictly wrapping OpenGL objects.
https://globjects.org
MIT License
538 stars 59 forks source link

Support for shared contexts #249

Open scheibel opened 10 years ago

scheibel commented 10 years ago

Besides the interface to mark two (or more) contexts as shared, the registries needs to be split up to have both shared and unshared data.

Typically shared data:

Typically unshared data:

scheibel commented 10 years ago

As said in https://www.opengl.org/registry/specs/ARB/shading_language_include.txt, named strings are part of shared objects between shared OpenGL contexts.