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
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
- relates to
-
JDK-8265304 Temporarily make Metal the default 2D rendering pipeline for macOS
- Resolved