Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Issue 1144993004: cc: Make impl-thread property trees handle fixed-position layers (Closed)

Created:
5 years, 6 months ago by ajuma
Modified:
5 years, 6 months ago
Reviewers:
enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@EnablePropertyTreeVerificationOnImpl
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Make impl-thread property trees handle fixed-position layers This makes impl-thread property trees correctly handle fixed-position layers, as long as there's no bounds_delta (handling bounds_delta is left for another CL). This CL makes the offset between a fixed-position layer and its container unchangeable on the compositor thread, so that it remains unaffected by impl scrolling of intermediate layers. This also changes the transform node used as the parent of a fixed-position node when the fixed-position container is scrollable: since scrolls of this container aren't supposed to affect contained fixed-position layers, yet do contribute to this node's local transform, this node's parent is used as the transform tree parent of contained fixed-position nodes. This makes the portions of LayerPostionConstraintTests that do not involve bounds_delta pass with verification enabled. BUG=481585 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/5e47dec44b5f6211afd795da37d8b4a257ae133c Cr-Commit-Position: refs/heads/master@{#332055}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Don't rebuild impl property trees #

Total comments: 6

Patch Set 4 : Add DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -12 lines) Patch
M cc/layers/layer_impl.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/property_tree.h View 4 chunks +21 lines, -0 lines 0 comments Download
M cc/trees/property_tree.cc View 3 chunks +14 lines, -6 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 3 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
ajuma
https://codereview.chromium.org/1144993004/diff/40001/cc/layers/layer_position_constraint_unittest.cc File cc/layers/layer_position_constraint_unittest.cc (right): https://codereview.chromium.org/1144993004/diff/40001/cc/layers/layer_position_constraint_unittest.cc#newcode978 cc/layers/layer_position_constraint_unittest.cc:978: great_grand_child_->SetScrollClipLayerId(root_->id()); This test scrolls great_grand_child_, so it should be ...
5 years, 6 months ago (2015-05-29 17:47:08 UTC) #2
enne (OOO)
lgtm https://codereview.chromium.org/1144993004/diff/40001/cc/layers/layer_position_constraint_unittest.cc File cc/layers/layer_position_constraint_unittest.cc (right): https://codereview.chromium.org/1144993004/diff/40001/cc/layers/layer_position_constraint_unittest.cc#newcode978 cc/layers/layer_position_constraint_unittest.cc:978: great_grand_child_->SetScrollClipLayerId(root_->id()); On 2015/05/29 at 17:47:08, ajuma wrote: > ...
5 years, 6 months ago (2015-05-29 20:07:54 UTC) #3
ajuma
https://codereview.chromium.org/1144993004/diff/40001/cc/layers/layer_position_constraint_unittest.cc File cc/layers/layer_position_constraint_unittest.cc (right): https://codereview.chromium.org/1144993004/diff/40001/cc/layers/layer_position_constraint_unittest.cc#newcode978 cc/layers/layer_position_constraint_unittest.cc:978: great_grand_child_->SetScrollClipLayerId(root_->id()); On 2015/05/29 20:07:53, enne wrote: > On 2015/05/29 ...
5 years, 6 months ago (2015-05-29 21:41:07 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1144993004/60001
5 years, 6 months ago (2015-05-29 22:02:01 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-05-29 22:10:32 UTC) #8
commit-bot: I haz the power
5 years, 6 months ago (2015-05-29 22:11:17 UTC) #9
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5e47dec44b5f6211afd795da37d8b4a257ae133c
Cr-Commit-Position: refs/heads/master@{#332055}

Powered by Google App Engine
This is Rietveld 408576698