forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1731136 Part 4: Make macOS native compositor and NativeLayerCA ha…
…ndle backdrop layers. r=mstange This makes the macOS native compositor claim the ability to handle color layers and makes NativeLayerCA actually do it. Color layers have a different structure than other layers. Color layers apply the color to the wrappingCALayer, and have no contentCALayer at all. That means that the color layers are always sized to the layer's clip rect. This also contains a drive-by fix to handle the case where an mOpaquenessTintLayer exists when mMutatedSpecializeVideo is set to true. Before this change, in such a case, the opaqueness layer will not be associated with the recreated wrapping layer. Differential Revision: https://phabricator.services.mozilla.com/D128545
- Loading branch information
Showing
5 changed files
with
140 additions
and
53 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