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

Alan Snyder javalists at cbfiddle.com
Thu Jun 3 14:31:04 UTC 2021


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 <avu at openjdk.java.net> wrote:
> 
> 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.)
>> 
> 
> Yes, blit encoder works asynchronously so we may have some latency before the actual content is presented to the window.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/awt-dev/attachments/20210603/75f93f87/attachment.htm>


More information about the awt-dev mailing list