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

[Windows] Remove call to StretchBlt in native GetScreenCapture method

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: openjfx11
    • Component/s: javafx
    • Labels:

      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

              • Assignee:
                pbansal Pankaj Bansal
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: