Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose an API for throttling nsRefreshDriver. Contributes to JB#30183
In sailfish-browser we're interested in being able to limit view CPU usage while still keeping it active. Browser live covers are prime user of such feature. This patch makes it possible to enable layout engine's refresh driver throttling without fully deactivating the view. When refresh driver throttling is enabled the engine will update/repaint the content less often. The frequeency can be tweaked through layout.throttled_frame_rate pref (defaults to 1).
- Loading branch information
Showing
5 changed files
with
20 additions
and
1 deletion.
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
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