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

Many java/awt/ tests fail with Metal API Validation synchronizeTexture error

    XMLWordPrintable

    Details

    • Subcomponent:
      2d

      Description


      With Metal API Validation, the Java 2D macOS Metal pipeline has the
      the following error
      021-02-13 12:51:01.491 java[14931:12150485] Metal API Validation Enabled
      -[MTLDebugBlitCommandEncoder synchronizeTexture:slice:level:]:1198: failed assertion `synchronizeTexture: only applies when resourceOptions(0x20) & MTLResourceStorageModeMask(0xf0) == MTLResourceStorageModeManaged(0x10). NOT MTLResourceStorageModePrivate'

       with many java/awt jtreg ests - other tests may fail because of the same but this is a good sampling
      ./java/awt/Graphics2D/DrawString/TextRenderingTest.jtr
      ./java/awt/Graphics2D/FlipDrawImage/FlipDrawImage.jtr
      ./java/awt/Graphics2D/FillTexturePaint/FillTexturePaint.jtr
      ./java/awt/GradientPaint/LinearColorSpaceGradientTest.jtr
      ./java/awt/GradientPaint/GradientTransformTest.jtr
      ./java/awt/image/VolatileImage/DrawHugeImageTest.jtr
      ./java/awt/image/VolatileImage/CustomCompositeTest.jtr
      ./java/awt/image/VolatileImage/bug7181438.jtr
      ./java/awt/image/VolatileImage/TransparentVImage.jtr
      ./java/awt/image/DrawImage/IncorrectUnmanagedImageSourceOffset.jtr
      ./java/awt/image/DrawImage/IncorrectSourceOffset.jtr
      ./java/awt/image/DrawImage/EABlitTest.jtr
      ./java/awt/image/DrawImage/ScaledImageAlphaTest.jtr
      ./java/awt/image/DrawImage/IncorrectUnmanagedImageRotatedClip.jtr
      ./java/awt/image/DrawImage/IncorrectAlphaSurface2SW.jtr
      ./java/awt/image/DrawImage/IncorrectBounds.jtr
      ./java/awt/image/DrawImage/SimpleManagedImage.jtr
      ./java/awt/image/DrawImage/IncorrectDestinationOffset.jtr
      ./java/awt/image/DrawImage/SimpleUnmanagedImage.jtr
      ./java/awt/image/DrawImage/BlitRotateClippedArea.jtr
      ./java/awt/image/DrawImage/IncorrectClipXorModeSurface2Surface.jtr
      ./java/awt/image/DrawImage/IncorrectClipXorModeSW2Surface.jtr
      ./java/awt/image/DrawImage/IncorrectAlphaConversionBicubic.jtr
      ./java/awt/image/DrawImage/IncorrectClipSurface2SW.jtr
      ./java/awt/image/DrawImage/IncorrectManagedImageSourceOffset.jtr
      ./java/awt/image/DrawImage/IncorrectOffset.jtr
      ./java/awt/BasicStroke/DashOffset.jtr
      ./java/awt/BasicStroke/DashScaleMinWidth.jtr
      ./java/awt/BasicStroke/DashZeroWidth.jtr
      ./java/awt/Graphics/CopyScaledArea/CopyScaledAreaTest.jtr
      ./java/awt/Graphics/LineClipTest.jtr

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jdv Jayathirth D V
              Reporter:
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: