Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Unstable

Changes

Summary

  1. NEWT: MonitorDevice: Add monitor-name, maybe an empty string. Implemented for X11 and Windows for now. (details)
  2. NEWT Screen: Cleanup get*Monitor*() methods (details)
  3. NEWT MonitorDevice: Fix pixelScale storage, own float[2], don't reuse given object (details)
  4. NEWT X11: Fix positionChanged: We need to translate the 0/0 client position to the root window (global screen) .. (details)
  5. NEWT Soft-PixelScale (p7): get{Global->}PixelScaleEnv(..): Support per monitor values w/ QT_SCREEN_SCALE_FACTORS syntax, use for X11 (details)
Commit 1632172369d0d6fee2ab21788582033dc316c7af by Sven Gothel
NEWT: MonitorDevice: Add monitor-name, maybe an empty string. Implemented for X11 and Windows for now.
The file was modified src/newt/classes/jogamp/newt/driver/egl/gbm/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/MonitorDeviceImpl.java (diff)
The file was modified src/newt/native/X11RandR13.c (diff)
The file was modified src/newt/classes/jogamp/newt/driver/macosx/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/kd/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/x11/RandR11.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/MonitorDevice.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/ios/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/x11/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/awt/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/bcm/egl/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/MonitorModeProps.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/bcm/vc/iv/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/x11/RandR.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/windows/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/x11/RandR13.java (diff)
The file was modified src/newt/classes/jogamp/newt/ScreenImpl.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/Screen.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/android/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/intel/gdl/ScreenDriver.java (diff)
Commit 97de7b52b8c0ca7f1afff394321a15e7f3df293d by Sven Gothel
NEWT Screen: Cleanup get*Monitor*() methods
The file was modified src/newt/classes/com/jogamp/newt/Screen.java (diff)
Commit 84fe8402e4845ee1e14071e4922a7f2b3b445851 by Sven Gothel
NEWT MonitorDevice: Fix pixelScale storage, own float[2], don't reuse given object
The file was modified src/newt/classes/com/jogamp/newt/MonitorDevice.java (diff)
Commit ad38d1559854985b1131e5b6c7274a392b5bc265 by Sven Gothel
NEWT X11: Fix positionChanged: We need to translate the 0/0 client position to the root window (global screen) ..

.. otherwise, we might end up receiving a client position of 0/0, while being positioned in a different absolute place within root.
The file was modified src/newt/native/X11Display.c (diff)
Commit 7982cc52344c025c40da45fd4b946056a63bc855 by Sven Gothel
NEWT Soft-PixelScale (p7): get{Global->}PixelScaleEnv(..): Support per monitor values w/ QT_SCREEN_SCALE_FACTORS syntax, use for X11

Per-monitor values are parsed if value is not a float and stored
in a given Map<String,float[2]>, parallel to a detected global_pixel_scale_xy.

The per-monitor value syntax matches QT_SCREEN_SCALE_FACTORS,
i.e. the regular expression '(<string>=<float>;)+',
e.g. QT_SCREEN_SCALE_FACTORS='DP-1=1.25;DP-2=1.25;HDMI-1=1.25;'

The per-monitor value is preferred and on X11 stored within the MonitorDevice,
matching the MonitorDevice's name.

The following env-var names are searched on X11:
   "QT_SCREEN_SCALE_FACTORS", "QT_SCALE_FACTOR", "GDK_SCALE", "SOFT_SCALE"
The file was modified src/nativewindow/classes/jogamp/nativewindow/SurfaceScaleUtils.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/x11/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/x11/WindowDriver.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode00aNEWT.java (diff)