Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8284378 Make Metal the default Java 2D rendering pipeline for macOS
  3. JDK-8284381

Release Note: Metal Is now the Default Java 2D Rendering Pipeline on macOS

XMLWordPrintable

    • 2d

      Previously JDK desktop applications using Swing and Java2D (tm) would render using OpenGL on macOS.
      As of this release of JDK, they now are rendered using Apple's new Metal accelerated graphics API.
      This has been available since JDK 17 (JEP 382), but was not automatically enabled. Now it is enabled by default.
      Applications will not need to take any action, as they will automatically benefit from faster graphics with lower power consumption, and the use of a more modern stable graphics API which will be able to work better on current and future Apple Mac systems.
      Any user who would prefer to continue to use OpenGL whilst it is still supported can disable rendering with Metal by starting their application with either "java -Dsun.java2d.metal=false" or "java -Dsun.java2d.opengl=true" and it will run with OpenGL as it used to in JDK 17.

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: