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

 

Reply via email to