<AWT Dev> [jdk17] RFR: 8266079: Lanai: AlphaComposite shows differences on Metal compared to OpenGL [v2]

Alexey Ushakov avu at openjdk.java.net
Mon Jul 5 15:55:27 UTC 2021

On Mon, 28 Jun 2021 22:45:12 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Alexey Ushakov has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.
> src/java.desktop/macosx/native/libawt_lwawt/awt/CWrapper.m line 349:
>> 347:         if ([window.contentView.layer isKindOfClass:[CAMetalLayer class]]) {
>> 348:             [window.contentView.layer setOpaque:(BOOL)opaque];
>> 349:         }
> This class "CWrapper" is intended to be a simple wrapper on top of cocoa methods, the changed method above is expected to call the "NSWindow#setOpaque" only. So you need to place "window.contentView.layer setOpaque" in some other place(native or java).



PR: https://git.openjdk.java.net/jdk17/pull/62

More information about the awt-dev mailing list