[OpenJDK 2D-Dev] [9] Review request for 8073320 Windows HiDPI Graphics support
Alexander Scherbatiy
alexandr.scherbatiy at oracle.com
Tue Apr 5 15:05:04 UTC 2016
On 01/04/16 06:24, Jim Graham wrote:
> Hi Alexandr,
>
> Is there a bug filed to upgrade JLightweightFrame to allow non-integer
> (and X/Y) scales? We'd need this capability to implement "Swing
> embedded in FX" correctly on Win8.1+...
I have created JDK-8153522 Update JLightweightFrame to allow
non-integer (and X/Y) scales
https://bugs.openjdk.java.net/browse/JDK-8153522
Thanks,
Alexandr.
>
> ...jim
>
> On 9/22/2015 2:33 AM, 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.
>>
More information about the 2d-dev
mailing list