<AWT Dev> [9] Review request for 8073320 Windows HiDPI Graphics support
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Wed Sep 23 15:05:46 UTC 2015
Hi, Alexander.
A few comments:
- Can you clarify the updated array in BufferedImageGraphicsConfig?
Probably some javadoc will be useful?
- It it possible to document the new options somewhere? I recall we
have description of some of related options. Also I suggest to file an
additional issue to make these options crossplatform.
On 22.09.15 12:33, Alexander Scherbatiy wrote:
>
> Hello,
>
> Could you review the fix:
> bug: https://bugs.openjdk.java.net/browse/JDK-8073320
> webrev: http://cr.openjdk.java.net/~alexsch/8073320/webrev.00
>
> This is an initial part of the HiDPI Graphics support on Windows for
> the JEP 263: HiDPI Graphics on Windows and Linux
> http://openjdk.java.net/jeps/263
>
> - scale factors are added to surface dates
> - window size, events coordinates and font are scaled on native side
> - backup buffered image is scaled in SunVolatileImage
> - AwtRobot MouseMove() and GetRGBPixels() methods are updated
> - GetDpiForMonitor function is used to query the specified monitor
> for the horizontal and vertical DPI values.
> If it is not available ID2D1Factory::GetDesktopDpi method is used
> instead.
> - "sun.java2d.uiScale.enabled", "sun.java2d.win.uiScale",
> "sun.java2d.win.uiScaleX", and "sun.java2d.win.uiScaleY" options are
> added for the testing purposes.
>
> Thanks,
> Alexandr.
>
--
Best regards, Sergey.
More information about the awt-dev
mailing list