Re: OpenGL in child windows

2007-01-11 Thread [EMAIL PROTECTED]
I have to ask, is there a reason each thread uses its own display connection (which are all different from gdi_display), and leaves the window data to only be available from the thread the window was created in? Besides the aforementioned problem with the GL context, I'd imagine it would be proble

Re: OpenGL in child windows

2007-01-10 Thread Chris Robinson
On Wednesday 10 January 2007 12:22, Frank Richter wrote: > Hmm, if OGL is displayed in its own child window, maybe it's possible to > shape it so that overlapping Win32 child windows are "excluded"... I'm not sure how to do that, given that the overlaps can cause the child window to have concave

Re: OpenGL in child windows

2007-01-10 Thread Frank Richter
On 10.01.2007 07:27, Chris Robinson wrote: > Beyond that, the only problem I can recall off-hand is that the OpenGL window > will draw overtop of all Win32 windows that are sharing the same X11 parent > window. Hmm, if OGL is displayed in its own child window, maybe it's possible to shape it so

Re: OpenGL in child windows

2007-01-10 Thread L. Rahyen
Wednesday January 10 2007 06:27、Chris Robinson さんは書きました: > Here's something I've been working on for about the past week. It's my > attempt to get OpenGL to render into an X11 child window that overlays the > Win32 window. Your patches works perfectly! I have tested few applications with

OpenGL in child windows

2007-01-09 Thread Chris Robinson
Here's something I've been working on for about the past week. It's my attempt to get OpenGL to render into an X11 child window that overlays the Win32 window. These patches are more proof-of-concept than anything I'd attempt to get into Wine.. just to show that it seems to work. If the method i