My concern is that these latency problems are much more noticeable when the Metal pipeline is used.
See JDK-8267226 <https://bugs.openjdk.java.net/browse/JDK-8267226>. Alan > On Jun 3, 2021, at 7:13 AM, Alexey Ushakov <a...@openjdk.java.net> wrote: > > 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.) >> > > Yes, blit encoder works asynchronously so we may have some latency before the > actual content is presented to the window. >