This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1291457 - Remove shadow invalidation code. r=spohl
Invalidating a window's shadow is really slow and leads to flickering. Now that arrow panels don't change their contents during the panel opening animation any more, their shape stays the same after the first paint, so we don't need the shadow invalidation functionality for them any more. And as far as I know, we don't use transparent popups with changing shapes anywhere else. The system still computes the shadow for the first paint of the window (which happens during the orderFront call), and it updates the shadow whenever the window resizes. But not when its size stays the same and only what we draw in the content is updated. MozReview-Commit-ID: 138PjbrSFrc
- Loading branch information
Showing
3 changed files
with
0 additions
and
27 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