Description[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
Committed: https://crrev.com/d8748a3907d55ade9282b8cf4d0993ac9ee5ab66
Cr-Commit-Position: refs/heads/master@{#406286}
Patch Set 1 #Patch Set 2 : [ash-md] Improves smoothness with many windows in overview (rebased) #
Total comments: 6
Patch Set 3 : [ash-md] Improves smoothness with many windows in overview (added flags) #
Messages
Total messages: 41 (29 generated)
|