Moi and Ubuntu

 From:  Michael Gibson
4409.64 In reply to 4409.63 
Hi Chyman,

> I have posted my Wine problem also on the WineHQ forum
> since it behaves the same with a simple OpenGL test
> (qtgears.exe):

Do you know if that program renders its OpenGL content into a child window instead of directly into a top level window?

Because it's that "render to child window" code path in Wine that seems to not function properly on OSX - it seems to need some particular kind of OpenGL extension that Apple does not happen to implement.


> Perhaps we are lucky and there are enhancements for
> how Wine's OpenGL and XQuartz interact...

For MoI's case I don't think any enhancements will be needed, because it looks like I'm going to be able to make a few pretty small modifications to how MoI's viewports are structured so that they will get a regular X window associated with each one and will then avoid the bad render-to-child-window code path that does not work under OSX.

That also combined with another slight modification to have a separate swapchain for each window instead of trying to share a single one seems to pretty much avoid the Direct3D/OpenGL problems entirely.

There only seem to be a few little remaining glitches in some of the UI to still clear up.

- Michael