On Wed, 29 Mar 2023 14:39:12 GMT, Alexey Ushakov <[email protected]> wrote:

> Use one display link thread per MTLContext. Adjust the refresh rate with the 
> current display.

Thanks for the testing. I've run only RenderPerf and only on M1 but it didn't 
show any regressions (there were some improvements actually) I've removed the 
dedicated blitCommandQueue because it caused the unpredicted order of rendered 
frames to appear on the screen. In general, it's recommended to use only one 
command queue per application. If we still want to use a separate queue, we 
need to provide some synchronization here 
https://developer.apple.com/documentation/metal/resource_synchronization/synchronizing_events_within_a_single_device?language=objc
 .

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13230#issuecomment-1489922312

Reply via email to