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

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

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 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 as child windows

2006-12-31 Thread Damjan Jovanovic
On 12/31/06, Chris Robinson [EMAIL PROTECTED] wrote: The topic of getting OpenGL to show and use more visuals/pixel formats than just the one the main window uses came up on IRC, and I was told to make a post here. One of the ideas was to create a child window of the main X window (which can be

Re: OpenGL as child windows

2006-12-31 Thread Dmitry Timoshkov
Damjan Jovanovic [EMAIL PROTECTED] wrote: AFAIK there is no technical problems, only political ones. Wine no longer allows subwindows to be X11 windows. I've heard Alexandre Julliard won't accept such patches. That was a purely technical decision to get rid of X windows for child Win32

Re: OpenGL as child windows

2006-12-31 Thread Chris Robinson
On Sunday 31 December 2006 00:12, you wrote: AFAIK there is no technical problems, only political ones. Wine no longer allows subwindows to be X11 windows. I've heard Alexandre Julliard won't accept such patches. These wouldn't be Win32 subwindows as X11 child windows (as I heard Wine doesn't

Re: OpenGL as child windows

2006-12-31 Thread L. Rahyen
On Sunday December 31 2006 08:12, Damjan Jovanovic wrote: On 12/31/06, Chris Robinson [EMAIL PROTECTED] wrote: The topic of getting OpenGL to show and use more visuals/pixel formats than just the one the main window uses came up on IRC, and I was told to make a post here. One of the ideas

Re: OpenGL as child windows

2006-12-31 Thread Roderick Colenbrander
On Sunday 31 December 2006 00:12, you wrote: AFAIK there is no technical problems, only political ones. Wine no longer allows subwindows to be X11 windows. I've heard Alexandre Julliard won't accept such patches. These wouldn't be Win32 subwindows as X11 child windows (as I heard Wine

Re: OpenGL as child windows

2006-12-31 Thread Vitaliy Margolen
Dmitry Timoshkov wrote: Damjan Jovanovic [EMAIL PROTECTED] wrote: AFAIK there is no technical problems, only political ones. Wine no longer allows subwindows to be X11 windows. I've heard Alexandre Julliard won't accept such patches. That was a purely technical decision to get rid of X

Re: OpenGL as child windows

2006-12-31 Thread Mark Hatsell
These wouldn't be Win32 subwindows as X11 child windows (as I heard Wine doesn't do), but rather, a child window of the main window used solely for showing OpenGL on. I can't, in my admittedly limited knowledge, think of why it wouldn't work, and it should also help clear the problem Wine

Re: OpenGL as child windows

2006-12-31 Thread Roderick Colenbrander
These wouldn't be Win32 subwindows as X11 child windows (as I heard Wine doesn't do), but rather, a child window of the main window used solely for showing OpenGL on. I can't, in my admittedly limited knowledge, think of why it wouldn't work, and it should also help clear the problem

Re: OpenGL as child windows

2006-12-31 Thread Chris Robinson
On Sunday 31 December 2006 11:44, Mark Hatsell wrote: Just wondered what would happen in the case of a non-X11 child window partially overlapping an X11 OpenGL window? I guess this wouldn't work still even with this solution. This could happen quite easily in an MDI situation. I suppose the