On Mon, 5 Jul 2021 15:55:20 GMT, Alexey Ushakov <[email protected]> wrote:
>> Implemented blit via compute kernel
>
> Alexey Ushakov has updated the pull request incrementally with one additional
> commit since the last revision:
>
> 8266079: Lanai: AlphaComposite shows differences on Metal compared to OpenGL
>
> Minor cleanup
src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java line 340:
> 338: if (!isTranslucent) {
> 339: contentView.setWindowLayerOpaque(true);
> 340: }
I think windowLayer should be always in sync with NSWindowOpaque state. And
both should be changed together via setOpaque() method.
The change above will call the "setWindowLayerOpaque" twice:
-
LWWindowPeer()->platformWindow.initialize()->contentView.setWindowLayerOpaque(true)
-
LWWindowPeer()->initializeImpl()->setOpaque()->contentView.setWindowLayerOpaque()
-------------
PR: https://git.openjdk.java.net/jdk17/pull/62