aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-05 04:42:56 +0100
committerSven Gothel <[email protected]>2023-03-05 04:42:56 +0100
commitd87f510194ad2eead2a42b41a3cbe1077f65a695 (patch)
tree80ab2b5bcfd55674e6310ed2ba5b96cf53d71daf /make
parent8d4e039dfd490d3f2290523ea75c9f51460bae41 (diff)
NEWT Screen: Allow injection of global (single) monitor size in [mm] via newt.ws.mmwidth and newt.ws.mmheight property
This is essential on bare-metal devices where the screen DRM/GBM driver does not provide the screen-size (in mm). Otherwise we would have resolution/(size_mm=0) infinity density and none of our graph font demos would work, as we compute pixel-em-size based using dpi and pixel-pt-size.
Diffstat (limited to 'make')
-rw-r--r--make/scripts/tests.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh
index 8848d5d68..8e282d0dd 100644
--- a/make/scripts/tests.sh
+++ b/make/scripts/tests.sh
@@ -113,6 +113,7 @@ function jrun() {
#X_ARGS="-Xrs"
#X_ARGS="-Dsun.awt.disableMixing=true"
+ #D_ARGS="-Dnewt.ws.mmwidth=150 -Dnewt.ws.mmheight=90"
#D_ARGS="-Djogl.debug.GLProfile -Djogl.debug.GLContext"
#D_ARGS="-Dnativewindow.debug.OSXUtil.MainThreadChecker -Djogamp.common.utils.locks.Lock.timeout=600000"
#D_ARGS="-Djogl.debug.GLProfile"
@@ -978,8 +979,11 @@ function testawtswt() {
# Linux DRM/GBM
#
+testnoawt com.jogamp.opengl.test.junit.graph.demos.GPUTextNewtDemo $*
+#testnoawt com.jogamp.opengl.test.junit.graph.demos.GPUUISceneNewtDemo $*
+#testnoawt com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieCube $*
+#testnoawt com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieSimple $*
#testnoawt com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT $*
-testnoawt com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieSimple $*
#testnoawt com.jogamp.opengl.test.junit.jogl.acore.TestGLProfileXXNEWTPost $*
#testnoawt com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile00NEWT $*
#testnoawt com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile01NEWT $*