forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1580117 - Pause composition for minimized windows on macOS. r=mst…
…ange This pauses composition when a window becomes minimized. This is particularly important for platforms like macOS, where minimized / hidden windows historically would remain compositing, potentially on every vsync if the hidden window contained animations. This should lead to a nice power savings by skipping this unnecessary work. This change affects both the WebRender and legacy compositor paths. As bug 1580117 is believed to be a macOS specific issue, this is currently implemented for macOS only, but could in the future be generalized to other platforms as well. Differential Revision: https://phabricator.services.mozilla.com/D85954
- Loading branch information
Showing
3 changed files
with
86 additions
and
0 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