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

[Windows] Remove call to StretchBlt in native GetScreenCapture method

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 9
    • jfx11
    • javafx

    Description

      After the fix for JDK-8162783 the native GetScreenCapture method in the Windows glass Robot.cpp code is only ever called with the same values for src and dst size. This means that the code path that calls StretchBlt is no longer used and can be removed, along with changing the arguments to the function to only take in a single pair of width and height values.

      Attachments

        Issue Links

          Activity

            People

              pbansal Pankaj Bansal (Inactive)
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: