<AWT Dev> [9] Review request for JDK-8145173 HiDPI splash screen support on Windows

Rajeev Chamyal rajeev.chamyal at oracle.com
Tue Feb 16 10:30:54 UTC 2016


Hello All,

 

Could you please review the following fix.

Bug : https://bugs.openjdk.java.net/browse/JDK-8145173

Webrev : http://cr.openjdk.java.net/~rchamyal/8145173/webrev.00/

 

This is an enhancement to support HiDPI splash screen on windows.

As a part of this enhancement implementation to splashscreen_sys.c::SplashGetScaledImageName method has been provided.

System dpi and scale factor are used to determine the scaled image name. Dpi value is read using GetDpiForMonitor API on Windows 8 and GetDesktopDpi API on Windows 7.

Scale factor is calculated from the dpi value.

 

The naming convention followed for scaled image name is as follows:

Refer : https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh965325.aspx

 

Unscaled image name : image.ext

Scaled image name : image.scale-<dpi value>.ext

 

Regards,

Rajeev Chamyal

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20160216/aa98695d/attachment.html>


More information about the awt-dev mailing list