On Sat, Jun 14, 2008 at 7:44 PM, Daniel Oberhoff
<[EMAIL PROTECTED]> wrote:
> Hi
>
>
> I looked a bit at the problem. I think the quickest way would be to just add
> an nsopenglview as the subview of a plain gdksubwindow which is just an
> NSView. Further out it would be nice, if gdkquartz would make onenglview,
> and i requested that, but could take a while i suppose.

Yeah. Though I don't think gdk creating NSOpenGLView buys you much.

See the attached patches. Quickly testing it basically makes
clutter-gtk work. It needs much cleaning up though, especially the
header that gets installed, check retain/release balance, be more
clear when it's OK to rely passing messages to NULL self->window to be
ignored, and when not, etc.

Happy hacking.


> I am scared of autotools, so maybe if someone helps me set up the osx target
> in autotools I can start hacking the quick way.

Imendios jhbuild setup should get you started fairly nicely (though I
haven't set up build environment from scratch in a long time.)
http://developer.imendio.com/projects/gtk-macosx/build-instructions


-- 
Tommi Komulainen [EMAIL PROTECTED]

Attachment: 0001-OSX-don-t-depend-on-ClutterGLWindow.patch
Description: Binary data

Attachment: 0002-OSX-quick-hack-for-clutter-gtk.patch
Description: Binary data

Reply via email to