forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1829493 - [wayland] Don't keep firing vsync at idle rate once idl…
…e. r=rmader Once we detect we're idle, remove the idle timer (until the frame callback fires again, which would start the timer). That makes vsync not fire at 1Hz on occluded windows (it makes vsync not fire at all for those). Matching the windows behavior too. We had this so that we didn't leak in bug 1786247, but the right fix is bug 1828587. Differential Revision: https://phabricator.services.mozilla.com/D176282
- Loading branch information
Showing
3 changed files
with
30 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters