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

Alexey Ushakov avu at openjdk.java.net
Thu May 27 09:39:05 UTC 2021

On Wed, 26 May 2021 13:49:24 GMT, Alexey Ushakov <avu at openjdk.org> wrote:

> Set black color for underlying window background to perform correct blending operations in metal with window surface destination

Yes, looks like we have the flashing problem back. It seems more serious than this particular bug.
We have two options here: 
1) accept this behavior for metal (It would be not a problem if we implement  JDK-8265445) 
2) reimplement all the composing operations via shaders instead of using metal blending rules


PR: https://git.openjdk.java.net/jdk/pull/4206

More information about the awt-dev mailing list