Re: [OpenJDK 2D-Dev] [jdk17] RFR: 8266079: Lanai: AlphaComposite shows differences on Metal compared to OpenGL

2021-06-16 Thread Jayathirth D V
On Wed, 16 Jun 2021 10:34:50 GMT, Alexey Ushakov  wrote:

>> 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

@avu i have given all test run. I will get back to you once it is done.

-

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


Re: [OpenJDK 2D-Dev] [jdk17] RFR: 8266079: Lanai: AlphaComposite shows differences on Metal compared to OpenGL

2021-06-16 Thread Alexey Ushakov
On Tue, 15 Jun 2021 17:47:27 GMT, Sergey Bylokhov  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