I have an application that opens multiple GLJPanes and GLCanvases. They all draw the same data set, but from slightly different camera views and window aspects. I’m trying to determine if for every pbuffer, texture and shader I delcare, I need to create a unique copy for each GLAutoDrawable, or if they can somehow share these. Sometimes multiple components seem to share a single resource and call it by the same name, but this behaviour is intermitant. To guarantee each component has it’s appearance state correct, I seem to need to create new instance of textures et. al. for each resource.
Are there any other ways to do this?