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

Revert to OpenGL as the default 2D rendering pipeline for macOS

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 17
    • client-libs
    • None
    • 2d
    • behavioral
    • minimal
    • This reverts to the long standing rendering pipeline
    • System or security property
    • Implementation

      Summary

      Revert to OpenGL as the default Java 2D rendering pipeline for macOS

      Problem

      CSR https://bugs.openjdk.java.net/browse/JDK-8265305 approved switching to Metal as the default rendering pipeline for JDk 17 as a temporary experiment. We now need to revert to OpenGL as per the plan.

      Solution

      Revert to OpenGL as the default pipeline and Metal will again become the optional pipeline. This will restore the behavior in CSR https://bugs.openjdk.java.net/browse/JDK-8262499

      Specification

      OpenGL will be default where available. To select Metal instead you specify -Dsun.java2d.metal= "True" | "true", or equivalently -Dsun.java2d.opengl=false

            prr Philip Race
            prr Philip Race
            Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: