JOGL's SWT Binding is updated.
Commit <
http://jogamp.org/git/?p=jogl.git;&a=commit&h=7cb6cf2a9708d3f4e06f2215eb0d06b00fa6cd15>
+++
SWT GLCanvas: Fix sporadic drop of redraw on X11 _and_ allow using custom GLCapabilities on X11 (feature complete)
To allow custom GLCapabilities, we had to use native parenting on X11 w/ a new child window.
The desired visualID chosen by the users GLCapabilities is passed to the new child window.
The redraw drops must be caused by the original GDK or the new child GDK window.
Now we use a plain X11 child window similar to NEWT's X11 window and NewtCanvasSWT,
which doesn't expose this bug.
(Note: SWTAccessor/GLCanvas still contains the uncommented GDK code path for further inspection, if desired)
Also added SWTNewtEventFactory to test event handling on the SWT GLCanvas w/ GearsES2.
TestSWTJOGLGLCanvas01GLn tests custom GLCapabilities now.
SWTEDTUtil has been moved to private: com.jogamp.newt.swt -> jogamp.newt.swt.
+++
A NewtCanvasSWT bug <
https://jogamp.org/bugzilla/show_bug.cgi?id=628>
has been fixed as well (deadlock).
+++
In short, you don't need to use NewtCanvasSWT anymore to indulge custom GLCapabilities,
e.g. MSAA, stencil-buffer .. etc.
A more natural SWT support is provided, your feedback is welcome.
You may test the aggregated build
<
http://jogamp.org/deployment/archive/master/gluegen_613-joal_379-jogl_867-jocl_712/archive/>
[Note: The javadoc's are not updated yet - and this aggregation is not signed].
~Sven