initially we realized our views with only default Juce Components. With some of our views we hit a preformance problem and realized them with OpenGL. Each of thos components has it's own renderer which gets added to an OpenGLContext.
Now we hit some problems with dragging, resizing and overlaying with the mixture of normal and OpenGL drawing and wanted to draw everything with OpenGL. When we now add an OpenGLContext to the topmost Component all normal Components get drawn perfectly fine, but those with their own context and renderer are left out. The renderOpenGL() methode gets called but I never see anything that is rendered their.
At first I thought we only should have one context at all, but you can only attach one renderer to it and we have a renderer per Component.
How can we reuse the renderer of the first OpenGL Components but use the default renderer for the rest?
Thanks in advance.