|
|
Descriptioncc: Clear entries from animations maps only when main thread wins
Because we will may need these values in future commits.
BUG=624366
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel
Committed: https://crrev.com/f03aa24a39fc23c5749b50966c8d1967063faa81
Cr-Commit-Position: refs/heads/master@{#406131}
Patch Set 1 #Patch Set 2 : "DCHECK" #
Total comments: 2
Patch Set 3 : Destructor should remove element from map #Patch Set 4 : Rebase #Patch Set 5 : rebase #Patch Set 6 : remove_DCHECK #
Messages
Total messages: 32 (15 generated)
Description was changed from ========== cc: Clear entries from animations maps only when main thread wins Because we will may need these values in future commits. BUG=624366 ========== to ========== cc: Clear entries from animations maps only when main thread wins Because we will may need these values in future commits. BUG=624366 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel ==========
jaydasika@chromium.org changed reviewers: + ajuma@chromium.org, weiliangc@chromium.org
I don't know if this fixes the bug. I couldn't repro it reliably. But the DCHECK added in this CL fail on that page. So, I am hoping this will fix it.
https://codereview.chromium.org/2105173006/diff/20001/cc/trees/layer_tree_imp... File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/2105173006/diff/20001/cc/trees/layer_tree_imp... cc/trees/layer_tree_impl.cc:644: transform_animations_map_.erase(id); Just realized map entries should be erased in RemoveLayer too.
https://codereview.chromium.org/2105173006/diff/20001/cc/trees/layer_tree_imp... File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/2105173006/diff/20001/cc/trees/layer_tree_imp... cc/trees/layer_tree_impl.cc:644: transform_animations_map_.erase(id); On 2016/06/30 00:26:39, jaydasika wrote: > Just realized map entries should be erased in RemoveLayer too. Done.
lgtm
The CQ bit was checked by jaydasika@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by jaydasika@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from ajuma@chromium.org Link to the patchset: https://codereview.chromium.org/2105173006/#ps60001 (title: "Rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
There is a perf test that is hitting the DCHECK. I am unable to repro it. Probably because the DCHECK is hit during an animation (?). Can I remove the DCHECK and land this CL ?
On 2016/07/06 22:48:08, jaydasika wrote: > There is a perf test that is hitting the DCHECK. I am unable to repro it. > Probably because the DCHECK is hit during an animation (?). Can I remove the > DCHECK and land this CL ? A mismatch between the transform on the layer and the transform in the transform node could be a real bug, so it'd be good to try to investigate this some more.
The CQ bit was checked by jaydasika@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of description without "master." prefix is deprecated: tryserver.blink For more details, see http://crbug.com/617627.
The DCHECK was failing for the case where there are no animations on compositor between two commits and the next commit wants the compositor value transform to win. But, as transform_animations_map is empty, main thread value stays in the property trees. Removed the DCHECK and added a test for this case.
Description was changed from ========== cc: Clear entries from animations maps only when main thread wins Because we will may need these values in future commits. BUG=624366 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel ========== to ========== cc: Clear entries from animations maps only when main thread wins Because we will may need these values in future commits. BUG=624366 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel ==========
On 2016/07/18 21:33:45, jaydasika wrote: > The DCHECK was failing for the case where there are no animations on compositor > between two commits and the next commit wants the compositor value transform to > win. > But, as transform_animations_map is empty, main thread value stays in the > property trees. > > Removed the DCHECK and added a test for this case. Thanks, lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by jaydasika@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== cc: Clear entries from animations maps only when main thread wins Because we will may need these values in future commits. BUG=624366 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel ========== to ========== cc: Clear entries from animations maps only when main thread wins Because we will may need these values in future commits. BUG=624366 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel ==========
Message was sent while issue was closed.
Committed patchset #6 (id:100001)
Message was sent while issue was closed.
CQ bit was unchecked.
Message was sent while issue was closed.
Description was changed from ========== cc: Clear entries from animations maps only when main thread wins Because we will may need these values in future commits. BUG=624366 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel ========== to ========== cc: Clear entries from animations maps only when main thread wins Because we will may need these values in future commits. BUG=624366 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel Committed: https://crrev.com/f03aa24a39fc23c5749b50966c8d1967063faa81 Cr-Commit-Position: refs/heads/master@{#406131} ==========
Message was sent while issue was closed.
Patchset 6 (id:??) landed as https://crrev.com/f03aa24a39fc23c5749b50966c8d1967063faa81 Cr-Commit-Position: refs/heads/master@{#406131} |