Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8238361 JEP 382: New macOS Rendering Pipeline
  3. JDK-8268631

Release Note: JEP 382: New macOS Rendering Pipeline

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      os_x

      Description

      The Java 2D API used by the Swing APIs for rendering, can now use the new Apple Metal accelerated rendering API for macOS.

      This is currently disabled by default, so rendering still uses OpenGL APIs, which are deprecated by Apple but still available and supported.

      To enable Metal, an application should specify its use by setting the system property:

      `-Dsun.java2d.metal=true`

      Use of Metal or OpenGL is transparent to applications since this is a difference of internal implementation and has no effect on Java APIs.
      The metal pipeline requires macOS 10.14.x or later. Attempts to set it on earlier releases will be ignored.

       For further details, see [JEP 382](https://openjdk.java.net/jeps/382).

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: