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

[macOS metal] test sun/java2d/OpenGL/OpaqueDest.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21, 25, 26
    • client-libs
    • 2d

      sun/java2d/OpenGL/OpaqueDest.java has been noted before as failing on macOS : 8237245 [macos] sun/java2d/OpenGL/OpaqueDest.java fails

      However that was when the test was (a) unstable, (b) running only on OpenGL.
      I have stabilized the test and it always passes on OpenGL but it fails most times on macOS x64 and Apple Silicon with macOS 15.x and other versions.

      The test fills a component with red, then clears the center portion of it, using AlphaComposite.Clear, then restores it to red using AlphaComposite.SrcIn

      This restore to red happens "sometimes" on Metal, but most of the time it doesn't happen.
      I verified that OpenGL does actually clear to black before restoring to red, so it really does seem to be working properly.

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

              Created:
              Updated: