Multiple EAGLViews but only one copy of each texture - how?
问题 I have an app running on iPad which is using lots of textures, rendering into one EAGLView. Now I need a second EAGLView, sharing textures with the first. I can get both views rendering fine, in parallel, on screen, by fixing some design mistakes in Apple's code (e.g. the default ViewController needs some tweaks to support multiple child EAGLView objects). But I can't get the textures to be shared. I cannot duplicate the textures (that would double memory usage - and we're using most of the