DescriptionMac overlays: Isolate partial swap support
The logic to maintain a CALayer tree for partial swap support is
complicated and should be removed, but that would compromise battery
usage. Once the CoreAniamtion renderer is handling ~99% of the frames,
we can remove it. In the mean time, isolate it.
Create a CALayerPartialDamageTree to track the layer tree of partially
swapped backbuffers. Do this in-place to minimize diffs, so that this
patch can be reasonably reviewed. A follow-on patch will move it to
a separate file.
Slightly reorganize the logic so that CALayerPartialDamageTree matches
the general structure of CALayerTree, where this a pending (not swapped)
tree, a tree for each pending swap, and a tree for what is currently
being displayed.
BUG=533681
Committed: https://crrev.com/8aa00fc2a374fca3e9b9f34d838db7bb5f4fc088
Cr-Commit-Position: refs/heads/master@{#371831}
Patch Set 1 #Patch Set 2 : Rename to partial damage #
Dependent Patchsets: Messages
Total messages: 9 (3 generated)
|