Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8145173

HiDPI splash screen support on Windows

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 9
    • 8u40, 9
    • client-libs
    • b114
    • windows

    Description

      Implement support of HiDPI splash screen loading on Windows.


      The following methods from splashscreen_impl.h need to be implemented (see JDK-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

      Attachments

        Issue Links

          Activity

            People

              rchamyal Rajeev Chamyal (Inactive)
              alexsch Alexandr Scherbatiy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: