Re: [GtkGLExt] [Gtk-osx-users] OS X Quartz developers Call to Arms



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;





i'm EMAILING FOR THE GREATER GOOD
Join me



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:

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 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


--
Braden McDaniel <braden endoframe com>

_______________________________________________
gtkglext-list mailing list
gtkglext-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkglext-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]