[Bug 2398] OpenGL is only used only on top level windows so child windows get overdrawn

Wine Bugs wine-bugs at winehq.org
Sun Apr 16 22:42:47 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=2398





------- Additional Comments From philip at digitalinfinity.biz  2006-16-04 22:42 -------
I agree with willie on this issue of using a window for an openGL control. While
it is true that its not desirable to use a separate window for regular controls
seeing as this isn't the way microsoft does it in their API. It is necessary for
some controls in windows. Not many. They are the exceptions.  GL viewports is
one of them. So are certain activeX controls and so are controls to display
video in movie players. 

Let me say the best solution is to implement GL viewports as a window. I agree
that most of the controls don't need it. IE no point in allocating an entire
window for a button. Even if this is how its done in X, Its not done that way in
Windows.  But viewports are one area where a window is necessary. Not just GL
viewports but also view ports for most media players. And it would be useful for
some activeX controls to have those implemented as a separate window in X. 

I know you guys are probably going to frown about the whole idea of video
players being in a view port but you won't be able to get some of the
functionality in those programs without it. For instance, right clicking on the
control and having it go to full screen. Thats usually a window that get
expanded to take up the whole screen.  It requires a separate window. So this
may kill a few birds with one stone. Just food for thought.

I suggest taking some of the old WM code and incorperating it in with the new
way of doing things. A hybrid solution seems to be the best solution here. Its
not a hack in my opinion. 

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the wine-bugs mailing list