Am Freitag, 6. Oktober 2006 15:26 schrieb Ulrich Czekalla:
From our discussions at wineconf we concluded that overriding the various functions such as glViewport and glScissor will get us there for most applications.
The only thing this will not do is handle the case where a child window overlaps a opengl child window. In this case the best solution is to use a glX extension that would allow us to provide a clip region to clip the overlapping child windows. The big question is this really necessary. How many applications make use of this? I don't know the answer.
If I understand your question correctly, I'm sad to say that most applications using OpenGL viewports have overlapping child windows - especially pro applications/ content creation applications. You might want to try DAZ|Studio for reference, as it's freeware and shows what I mean. It's available at studio.daz3d.com.
I'd test your patch myself, but OpenGL in Wine is completely broken for me for a few weeks now, and I have no idea how to fix it (D3D works just fine, though)...
Ciao, Willie