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

Sergey Bylokhov serb at openjdk.java.net
Tue Jun 15 17:50:43 UTC 2021


On Tue, 15 Jun 2021 16:57:00 GMT, Alexey Ushakov <avu at openjdk.org> wrote:

> Implemented blit via compute kernel

Marked as reviewed by serb (Reviewer).

src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLLayer.m line 159:

> 157:         [computeEncoder endEncoding];
> 158:         [cb commit];
> 159: #endif

This is better than changing the background color, but should be carefully checked. @jayathirthrao @aghaisas please take a look.
Since this affects every blit to the window I suggest running a full test run.

-------------

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


More information about the awt-dev mailing list