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;
EMAILING FOR THE GREATER GOOD Join me From: [email protected] Date: Sun, 22 Nov 2009 11:49:44 +0100 To: [email protected] CC: [email protected]; [email protected]; [email protected] Subject: Re: [Gtk-osx-users] [GtkGLExt] OS X Quartz developers Call to Arms On Nov 21, 2009, at 6:30 AM, Braden McDaniel wrote:On Sat, 2009-11-21 at 02:33 +0100, Jack Skellington wrote: Hi all! I'm currently working on porting a commercial Gtk+ OpenGL App to Snow Leopard using the actively developed and maintained Gtk+ OS X Quartz backend. My last problem now is that GtkGlExt only works with X11. I'm not familiar with the Low Level OS X API's, so I'd properly wouldn't be able to write the backend myself but I think it would be awesome if someone here could help with the native OS X backend, getting closer to a fully supported native Gtk+ :) This patch is probably a good starting point: https://sourceforge.net/tracker/?func=detail&aid=2750584&group_id=54333&atid=473436 I'll try to get back to reviewing this soon; though it might have to wait until I get my KVM back from RMA. Do let me know how it goes for you. I managed to apply the patch and compile both GtkGLExt and my app, but when I start my appthe 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, butwhen I move the mouse up the the invisible file menu I'm able to open other (non opengl) windows which works as expected?? RegardsJacob [email protected] -- Braden McDaniel <[email protected]> _______________________________________________ gtkglext-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkglext-list
_______________________________________________ gtkglext-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkglext-list
