I have an external library (libvlc v4 video player) that decodes video frames on a GL texture, that then needs to be drawn on screen. In order to do this the GL context needs to be shared with this library, but I do not know how this could be done.
The textures are created in a callback, so that part is controllable if needed. Looking at the docs and source code I see that an GLFW window can share context with another window, but how to do the same with a generic entity? The sample code (that works) using SDL just puts this at the beginning of setup.
A solution that does not need patching of OF code would of course be preferred, but this is not a mandatory requirement.
A big thank you to anybody knowledgeable (and kind ) enough to help