[OpenJDK 2D-Dev] RFR: 8226384: Implement a better logic to switch between OpenGL and Metal pipeline
Sergey Bylokhov
serb at openjdk.java.net
Wed May 5 02:37:54 UTC 2021
On Tue, 4 May 2021 11:02:40 GMT, Jayathirth D V <jdv at openjdk.org> wrote:
> We have many if else conditions to select OpenGL/Metal pipeline objects.
> Apart from initialization phase we should not fetch these objects everytime checking whether we are using OpenGL/Metal pipeline.
src/java.desktop/macosx/classes/sun/java2d/opengl/CGLLayer.java line 60:
> 58: return ptr;
> 59: }
> 60:
dispose and getBounds(probably some others) seems to have the same implementation in both classes?
-------------
PR: https://git.openjdk.java.net/jdk/pull/3851
More information about the 2d-dev
mailing list