Ident wrote:change only those lines that have tabs into spaces, which you actually modify. otherwise it will look a mess in the diff. thanks for considering this.
Multi-screen capability is something i havent thought about. thats a valid point. however, since cegui was changed to have GUIContexts for multi-target rendering, it is definitely laid out for such purposes. In D3D11 and OpenGL it is up to the user to render each GUIContext to the right framebuffer, so there it is definitely posible to do this already. Setting up a shared OpenGL context is of course out of the domain of CEGUI and something that the user has to care about. If Ogre offers this out of the box then this is definitely a nice thing.
From the looks of things it seems that when the time to render comes ALL the contexts are drawn, I think I'm going to try to do something to associate a Renderer to each context and only update when their renderer calls the
Code: Select all
System::getSingleton().renderAllGUIContextsOnTarget(d_owner);