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

[hidpi] Visible artifacts in sun/java2d/SunGraphics2D/DrawImageBilinear.java

    XMLWordPrintable

Details

    • 2d
    • b34

    Description

      Run this test on a HiDPI machine or with sun.java2d.uiScale=2.5 -- it would fail, and some of the painted squares will have visible gradients at the right and lower sides.

      On my Windows 10 box it is 3rd square, and the artifacts are dark and prominent. The issue comes when the test is run with non-integer scale and -Dsun.java2d.opengl=True

      Note that with integer scale the test does pass on Windows -- but a real HiDPI screen here has exactly scale 2.5 factor.

      Attachments

        Issue Links

          Activity

            People

              pbansal Pankaj Bansal (Inactive)
              yan Yuri Nesterenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: