Cool... did not even know there was a list for gtkglext. I actually have some need of this. Just don't have time to work it, not sure if I have the know how either.. I am swamped with other work. I myself do not have a good grasp of the Next Step Windowing system, but it looks like the implementation uses the NSView (check in gdkglwindow-quartz.h) instead of the NSOpenGLView, which means (given the dates on the patch) that some of this needs to be changed before it will work. I bet you if you just change these lines to use the new NSOpenGLView it may indeed work gdk/quartz/gdkglcontext-quartz.c:294: NSView *quartzView;
gdk/quartz/gdkglcontext-quartz.c:325: name: NSViewFrameDidChangeNotification
gdk/quartz/gdkglwindow-quartz.c:127: NSView *quartzView;
gdk/quartz/gdkglwindow-quartz.c:184: NSView *view = GDK_GL_WINDOW_IMPL_QUARTZ (draw)->quartzView;
gdk/quartz/gdkglwindow-quartz.h:23: NSView *quartzView;
From: jacob juvul com Date: Sun, 22 Nov 2009 11:49:44 +0100 To: braden endoframe com CC: gtk-devel-list gnome org; gtkglext-list gnome org; gtk-osx-users lists sourceforge net Subject: Re: [Gtk-osx-users] [GtkGLExt] OS X Quartz developers Call to Arms On Nov 21, 2009, at 6:30 AM, Braden McDaniel wrote:
I managed to apply the patch and compile both GtkGLExt and my app, but when I start my app the main windows is complete empty of any gtk widgets (white background everywhere), the only thing thats visible is the borders I draw in the opengl area, but when I move the mouse up the the invisible file menu I'm able to open other (non opengl) windows which works as expected?? Regards Jacob Kolding
|