Chromium Code Reviews
Descriptioncc: Block commit on activate by setting a flag on LayerTreeHost.
Currently the ThreadProxy recursively asks all layers in the tree if
they should block the commit. This is problematic as when you remove
a layer from a the tree, it may want to block the commit to get back
resources from its active-tree impl-layer.
Instead, have layers call SetNextCommitWaitsForActivation() when they
want the next commit to block on activate. This way we only block
commits that matter, not every commit when there's a texture layer
present. And we can allow a layer to block the commit when it is
leaving the tree.
Tests:
TextureLayerNoMailboxIsActivatedDuringCommit
TextureLayerMailboxIsActivatedDuringCommit
DelegatedFrameIsActivatedDuringCommit
R=enne, piman
BUG=277953
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220418
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220515
Patch Set 1 #
Total comments: 3
Patch Set 2 : blockcommit: nits #Patch Set 3 : blockcommit: move bool to proxy #
Total comments: 4
Patch Set 4 : blockcommit: tiled layer #Patch Set 5 : blockcommit: rebase #Patch Set 6 : blockcommit: fix flake #
Messages
Total messages: 15 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||