We use the NewtCanvasSWT in our eclipse RCP application and have just switched to using Oxygen, which supports hiDPI scaling.
We see a similar problem to this issue (http://forum.jogamp.org/SWT-GLCanvas-with-DPI-scaling-in-Eclipse-td4038566.html
) that the canvas is not scaled and shows up smaller than expected.
I have tried setting the scaling manually using setSurfaceScale but it doesn't seem to do anything.
Looking at the source code, the setSurfaceScale method of WindowImpl never sets the requested scale into the scale used (with the possible exception of OSX, where the osx WindowDriver class overrides this method), so methods like defineSize are not using the correct scaling factor.
Am I missing something? Or is setting the scale not fully implement for Newt for windows and x11?