Details
-
CSR
-
Resolution: Approved
-
P3
-
None
-
behavioral
-
low
-
-
System or security property
-
Implementation
Description
Summary
Make Metal the default Java 2D rendering pipeline for macOS
Problem
Apple deprecated OpenGL in favor of the new Metal accelerated rendering API. OpenGL is still used in JDK for Java 2D rendering on macOS, even though Metal support was delivered in JDK 17.
Solution
JDK on macOS should default to using Metal-based rendering where it is available and supported.
Specification
Metal API based rendering for Java 2D will be the default where available. To revert to OpenGL specify -Dsun.java2d.opengl= "True" | "true"
Attachments
Issue Links
- csr of
-
JDK-8284378 Make Metal the default Java 2D rendering pipeline for macOS
-
- Resolved
-