[OpenJDK 2D-Dev] Integrated: 8260931: Implement JEP 382: New macOS Rendering Pipeline
aghaisas at openjdk.java.net
Mon Mar 15 06:46:12 UTC 2021
On Thu, 4 Feb 2021 10:35:02 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:
> **Description :**
> This is the implementation of [JEP 382 : New macOS Rendering Pipeline](https://bugs.openjdk.java.net/browse/JDK-8238361)
> It implements a Java 2D internal rendering pipeline for macOS using the Apple Metal API.
> The entire work on this was done under [OpenJDK Project - Lanai](http://openjdk.java.net/projects/lanai/)
> We iterated through several Early Access (EA) builds and have reached a stage where it is ready to be integrated to openjdk/jdk. The latest EA build is available at - https://jdk.java.net/lanai/
> A new option -Dsun.java2d.metal=true | True needs to be used to use this pipeline.
> **Testing :**
> This implementation has been tested with the tests present at - [Test Plan for JEP 382: New macOS Rendering Pipeline](https://bugs.openjdk.java.net/browse/JDK-8251396)
> **Note to reviewers :**
> 1) Default rendering pipeline on macOS has not been changed by this PR. OpenGL still stays as the default rendering pipeline and Metal rendering pipeline is optional to choose.
> 2) To apply and test this PR -
> To enable the metal pipeline you must specify on command line -Dsun.java2d.metal=true (No message will be printed in this case) or -Dsun.java2d.metal=True (A message indicating Metal rendering pipeline is enabled gets printed)
> 3) Review comments (including some preliminary informal review comments) are tracked with JBS issues - https://bugs.openjdk.java.net/issues/?filter=40598
This pull request has now been integrated.
Author: Ajit Ghaisas <aghaisas at openjdk.org>
Stats: 17612 lines in 87 files changed: 17573 ins; 2 del; 37 mod
8260931: Implement JEP 382: New macOS Rendering Pipeline
Co-authored-by: Jayathirth D V <jdv at openjdk.org>
Co-authored-by: Alexey Ushakov <avu at openjdk.org>
Co-authored-by: Artem Bochkarev <abochkarev at openjdk.org>
Co-authored-by: Prasanta Sadhukhan <psadhukhan at openjdk.org>
Co-authored-by: Denis Konoplev <dkonoplev at openjdk.org>
Co-authored-by: Phil Race <prr at openjdk.org>
Co-authored-by: Kevin Rushforth <kcr at openjdk.org>
Co-authored-by: Magnus Ihse Bursie <ihse at openjdk.org>
Co-authored-by: Ajit Ghaisas <aghaisas at openjdk.org>
Reviewed-by: ihse, avu, kcr, gziemski, prr, kizune, jdv, psadhukhan, serb
More information about the 2d-dev