diff options
author | Sven Gothel <[email protected]> | 2023-05-13 06:25:41 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-05-13 06:25:41 +0200 |
commit | 309cd9fb55d57739f08147840165910f59c4b432 (patch) | |
tree | 26f0d2d763a330811a3e9839fda07d88e5c17ce1 /src/test/com | |
parent | f6021300d928f6902fb582cd3e9fc74bb0261db1 (diff) |
HiDPI: TestGearsES2NEWT: Show MonitorDevice properties, validating pixelScale
Diffstat (limited to 'src/test/com')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java index e6f1cdeaa..47afb8d19 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java @@ -33,6 +33,7 @@ import java.lang.reflect.InvocationTargetException; import com.jogamp.junit.util.JunitTracer; import com.jogamp.newt.Display; +import com.jogamp.newt.MonitorDevice; import com.jogamp.newt.NewtFactory; import com.jogamp.newt.Screen; import com.jogamp.newt.Window; @@ -351,6 +352,10 @@ public class TestGearsES2NEWT extends UITestCase { valReqSurfacePixelScale[0]+"x"+valReqSurfacePixelScale[1]+" (val) -> "+ hasSurfacePixelScale1[0]+"x"+hasSurfacePixelScale1[1]+" (has)"); NEWTDemoListener.setTitle(glWindow); + { + final MonitorDevice mm = glWindow.getMainMonitor(); + System.err.println("Monitor: "+mm); + } snap.setMakeSnapshot(); |