RFR: 8304825: MacOS metal pipeline - window isn't painted if created during display sleep

Alexey Ushakov avu at openjdk.org
Fri Apr 7 15:50:43 UTC 2023


On Thu, 6 Apr 2023 14:16:46 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:

> Root cause : The CVDisplayLink used in MTLLayer stops invoking callbacks on screen sleep and wakeup event. It is found that stop and restart of CVDisplayLink on these events also does not help.
> 
> Fix : Recreate the CVDisplayLink on screen sleep and wakeup event.

Looks good for me

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

Marked as reviewed by avu (Committer).

PR Review: https://git.openjdk.org/jdk/pull/13375#pullrequestreview-1376333938



More information about the client-libs-dev mailing list