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

HiDPI splash screen support on Windows

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40, 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b114
    • OS:
      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

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

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: