-
Sub-task
-
Resolution: Delivered
-
P3
-
19
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.
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.