forked from chromium/chromium
-
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.
[ash-md] Improves smoothness with many windows in overview
Experimentally, most of the animation cost was coming from having window shapes (used to mask the window header) and from using rounded rectangle masks. This CL disables both those performance hogs when there are more than certain number of windows in the overview mode (controlled via flags). Default is set to hardcoded 10. It also makes sure that window controls (minimize / resize / close) are hidden when in overview mode for custom and panel frames. New flags are introduced: --ash-max-previews-to-use-mask=<number> Maximum number of preview windows in overview mode that can use masks to hide window headers and use rounded corners. Use -1 to set to unlimited. --ash-max-previews-to-use-shape=<number> Maximum number of preview windows in overview mode that can use shapes to hide window headers. Use -1 to set to unlimited. BUG=626851 BUG=624608 Review-Url: https://codereview.chromium.org/2146323004 Cr-Commit-Position: refs/heads/master@{#406286}
- Loading branch information
varkha
authored and
Commit bot
committed
Jul 19, 2016
1 parent
bb8a604
commit d8748a3
Showing
13 changed files
with
250 additions
and
48 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
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
Oops, something went wrong.