[OpenJDK 2D-Dev] [14] Review Request: 8235520 [macosx] Delete NSView based direct rendering mechanism
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Sat Dec 7 00:23:50 UTC 2019
Hello.
Please review the fix for JDK 14.
Bug: https://bugs.openjdk.java.net/browse/JDK-8235520
Fix: http://cr.openjdk.java.net/~serb/8235520/webrev.00
This is a part of the effort to clean up the macOS code,
each new cleanup opens a new opportunity to delete some other code.
During the early stage of MacOSXPort development in Java2D we
use NSView-based OpenGL rendering, which later was replaced by
the CAopenGLLayer. We can delete this code.
The change is straightforward, it is started at LWCToolkit.java
where the "sun.awt.disableCALayers" property was deleted and ended at
CGLSurfaceData.java where CGLWindowSurfaceData was deleted.
Note that I have dropped one JNI native methods which became unused,
but did not change other native methods, because they touch to the
shared code, I will do it later.
mach5 is green.
--
Best regards, Sergey.
More information about the 2d-dev
mailing list