I just have a quick question about layering OpenGLContexts with ‘normal’ components (by normal I just mean non-openGL drawing components).
In my previous use of OpenGLContexts, I would basically attach it to a parent component that was the GLRenderer, do my openGL drawing, and then add ‘normal’ child components to the parent component, and this would work fine. The normal child components would draw on top of the parent component.
This time around, I’m trying to do things a little more advanced, where I have a normal parent component, and then individual child components that have their own GLcontext and are their own renderer, as well as other normal child components.
This seems to work fine, however whenever a normal child component overlaps/overlays on a GLcontext, the GLContext always sits on top. Again, previously this did not happen when the parent component was the GLRenderer and attached to the context, but now that they are seperate components, issues arise.
I assume there’s something simple I’m missing, or that is just the nature of GLContexts and it can’t be done. Should the parent component just be the renderer and the child components just have the context? Any input appreciated!