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

Metal: jdk_desktop tests failures in case of integrated GPU

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 17
    • 17
    • client-libs
    • 2d

      After enabling Metal for Java2D rendering by default (JDK-8265304) the following jdk_desktop tests became failing:

      sun/java2d/pipe/InterpolationQualityTest.java
      java/awt/image/DrawImage/IncorrectAlphaConversionBicubic.java
      java/awt/image/DrawImage/IncorrectClipXorModeSurface2Surface.java
      java/awt/image/DrawImage/IncorrectClipXorModeSW2Surface.java
      java/awt/image/DrawImage/IncorrectUnmanagedImageRotatedClip.java

      The failures were observed on MacBook Pro (Retina, 15-inch, Mid 2015) equipped with integrated Intel Iris Pro 1536 MB only.

      How to reproduce:

      $ jtreg -testjdk:<path_to_jdk> sun/java2d/pipe/InterpolationQualityTest.java

      The tests passed well in OGL
      $ jtreg -testjdk:<path_to_jdk> -javaoptions:'-Dsun.java2d.opengl=true' sun/java2d/pipe/InterpolationQualityTest.java

      These tests also pass well on MacBook Pro with discrete AMD Radeon R9 M370X 2 GB for both OGL and Metal

            avu Alexey Ushakov
            vprovodin Vitaly Provodin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: