RFR: 8304825: MacOS metal pipeline - window isn't painted if created during display sleep
Ajit Ghaisas
aghaisas at openjdk.org
Thu Apr 6 14:24:22 UTC 2023
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.
-------------
Commit messages:
- Recreate CVDisplayLink on screen sleep/wakeup events
Changes: https://git.openjdk.org/jdk/pull/13375/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13375&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8304825
Stats: 38 lines in 1 file changed: 35 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/13375.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13375/head:pull/13375
PR: https://git.openjdk.org/jdk/pull/13375
More information about the client-libs-dev
mailing list