Native SWT Binding Test

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Native SWT Binding Test

Sven Gothel
Administrator
Native SWT Binding Test

Hi all .. a 1st experimental demo for a native SWT / JOGL binding
working on Linux and Windows, both 32 and 64bit.

---

New GLDrawableFactory createProxySurface(..) method
  http://jogamp.org/git/?p=jogl.git;a=commit;h=254052b54cebdb957d83e46e377534ef263d6029

Pimp up SWTAccessor for our needs:
  http://jogamp.org/git/?p=jogl.git;a=commit;h=f9ae06b4df8daa5e780e392543cb06cb9a6293c9
  http://jogamp.org/git/?p=jogl.git;a=commit;h=e0b2133b1dafef6750885d53fe85e2bc9530c2c9

The new native test case/impl:
  http://jogamp.org/git/?p=jogl.git;a=commit;h=10ea39d665f0cb50204d1965a0739ca15119e86f

---

Now we can see how to make a nice integration,
ie using NEWT or keep it special in the SWT realm.

Cheers, Sven

--
health & wealth
mailto:[hidden email] ; http://jausoft.com
land : +49 (471) 4707742 ; cell: +49 (151) 28145941
Timezone CET: PST+9, EST+6, UTC+1
Reply | Threaded
Open this post in threaded view
|

Re: Native SWT Binding Test

Xfel
Well,
This seems to be a good sign for all SWT users, allthough the use is quite irritating at the moment.
The final goal would be some JOGL plugin for Eclipse with a JOGL SWT GLCanvas class, I assume.

For a fixed integration, why don't use the NativeWindow framework? Wrapping the SWT control into NativeWindow and the SWT Display into AbstractGraphicsDevice should work fine.