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

Lanai : J2DDemo - Images - Rendering vanishes if AA rendering is unchecked - recovers on window refresh

    Details

    • Subcomponent:
      2d
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      Launch J2DDemo with metal pipeline. By default Anti-Aliased rendering checkbox is checked.
      Go to Images demo.
      Click on JPEGFlip demo.

      Uncheck the Anti-Aliased rendering checkbox - to select non-AA rendering.
      It can be seen that the BufferedImage vanishes (see attached screenshot). This is recovered if the windows is refreshed.
      Also flipped image is clipped incorrectly - I think, we have a separate issue for that.

      Observed on build of - June 15, 2020 and with -Dsun.java2d.uiScale=1.0 or external monitor.

      This is not reproducible on default retina screen or with -Dsun.java2d.uiScale=2.0

        Attachments

          Activity

            People

            • Assignee:
              abochkarev Artem Bochkarev
              Reporter:
              aghaisas Ajit Ghaisas
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: