-
Enhancement
-
Resolution: Fixed
-
P3
-
8u40, 9
-
b114
-
windows
Implement support of HiDPI splash screen loading on Windows.
The following methods from splashscreen_impl.h need to be implemented (seeJDK-8043869):
void SplashSetScaleFactor(float);
char* SplashGetScaledImageName(const char*, const char*, float*);
There are some steps which should be considered:
- read scale factors: GetDpiForMonitor on Windows 8.1 and GetDesktopDpi on Windows 7
- It should be decided, which name conventions should be used for high-resolution splash images.
May be something like this: https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh965325.aspx
name.scale-100.ext, name.scale-140.ext, name.scale-180.ext
The following methods from splashscreen_impl.h need to be implemented (see
void SplashSetScaleFactor(float);
char* SplashGetScaledImageName(const char*, const char*, float*);
There are some steps which should be considered:
- read scale factors: GetDpiForMonitor on Windows 8.1 and GetDesktopDpi on Windows 7
- It should be decided, which name conventions should be used for high-resolution splash images.
May be something like this: https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh965325.aspx
name.scale-100.ext, name.scale-140.ext, name.scale-180.ext
- duplicates
-
JDK-8144021 [TEST_BUG] update java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java
-
- Closed
-
- relates to
-
JDK-8043869 [macosx] java -splash does not honor @2x hi dpi notation for retina support
-
- Resolved
-