<AWT Dev> [9] Review request for 8137571 Linux HiDPI Graphics support

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Mon Oct 5 14:01:59 UTC 2015


Could you review the fix:
   bug: https://bugs.openjdk.java.net/browse/JDK-8137571
   webrev: http://cr.openjdk.java.net/~alexsch/8137571/webrev.00

   This is an initial part of the HiDPI Graphics support on Linux for 
the JEP 263: HiDPI Graphics on Windows and Linux

   - scale factors are added to surface dates
   - window size and events coordinates are scaled on peer side
   - XRobotPeer mouseMove() and getRGBPixel() methods are updated
   - GDK_SCALE system variable is used to detect the scale factor in GTK+
   - "sun.java2d.uiScale.enabled", and "sun.java2d.uiScale" options are 
added for the testing purposes
   - some classes like LWWindowPeer, SurfaceManager, SunGraphics2D, 
DrawImage, SurfaceData are just the same as in the fix for HiDPI 
Graphics support on Windows


More information about the awt-dev mailing list