On Wed, 26 May 2021 13:49:24 GMT, Alexey Ushakov <a...@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:javali...@cbfiddle.com) on > [awt-dev](mailto:awt-...@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