[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: SWT/OSX using X11 instead of Aqua ?

Yarden Livnat wrote:
Is there away to run SWT on the Mac using the X11 presentation layer rather then Aqua ?

Specifically, my rcp uses JOGL, which in turn requires the use of SWT_AWT. Yet, SWT_AWT does not run on the Mac due to incompatibility between the SWT and AWT (long story, but as far as I understand it has to do with Cocoa/Carbon). Thus my question.... can I have SWT to run on the Mac using the X11 interface instead... ?

I have SWT/GTK+ built on my PowerBook using the GTK+ that's in fink, although I'm not sure if it would actually help with the JOGL thing, since you'd need it to use GLX instead of AGL, no?


There are some SWT/GL bindings I was looking at finishing. Doing an AGL layer there is easy. The problem with JOGL I think is that all of their GL bindings are tied to an AWT widget at some level. LWJGL's binding is nicer since they just have static methods for each GL call, so you can do all of the OpenGL context management with SWT and then just use their binding. Maybe I'm misunderstanding JOGL though.

  -Billy