It would be very nice if instead of just being able to make current context active, it would also remember what context was active before and when you make it inactive again, the old context is automatically made active again.
I had some massive problems because JUCE works not this way and I’m using more than one OpenGLComponent and more than one threads that concurrently access the OpenGL contexts to upload textures to them.
Basically, with the way JUCE works now at the moment, without adding extra features, I could not find a way to get it to work. I know that uploading textures while drawing is a very special case though.
Also, does setVisible() not work for OpenGL components?