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

Alexey Ushakov avu at openjdk.java.net
Wed Jun 16 10:37:31 UTC 2021


On Tue, 15 Jun 2021 17:47:27 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Implemented blit via compute kernel
>
> 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.

@jayathirthrao @aghaisas please let me know if I can push this change into JDK17 repository

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

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


More information about the awt-dev mailing list