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

Alexey Ushakov avu at openjdk.java.net
Thu Jun 3 14:13:38 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

> _Mailing list message from [Alan Snyder](mailto:javalists at cbfiddle.com) on [awt-dev](mailto:awt-dev at mail.openjdk.java.net):_
> Could the flashing problem be related to the timing problem described in JDK-8209329 <https://bugs.openjdk.java.net/browse/JDK-8209329>?
> I have noticed occasional red flashes using Metal, which I suspect are caused by trying to render uninitialized data.
> (I?m guessing that the red is a debugging aid provided by Apple. Previously, they used yellow.)
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://mail.openjdk.java.net/pipermail/awt-dev/attachments/20210601/4e09c548/attachment-0001.htm>

Yes, blit encoder works asynchronously so we may have some latency before the actual content is presented to the window.


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

More information about the awt-dev mailing list