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

Issue 11704003: cc: Move more functionality from host to LayerTreeImpl (Closed)

Created:
7 years, 11 months ago by enne (OOO)
Modified:
7 years, 11 months ago
Reviewers:
danakj, nduca
CC:
chromium-reviews, cc-bugs_chromium.org, danakj
Visibility:
Public.

Description

cc: Move more functionality from host to LayerTreeImpl This cleans up some longstanding TODOs that were creating when splitting out logic into LayerTreeImpl. It's possible that some of the helpers to get at active tree layers (root, scrolling, etc) could be moved, but given that scrolling only happens on the active tree (with the pending tree being updated with the result), these accessors could arguably stay permanently. This also moves background color / has transparent background to the tree itself, so that these changes will synchronize with any content on that tree. Things like viewport, device scale, and debug state are considered host-specific and take effect immediately. R=nduca@chromium.org BUG=155209 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175252

Patch Set 1 #

Total comments: 6

Patch Set 2 : 80 col /o\ #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -92 lines) Patch
M cc/delegated_renderer_layer_impl_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M cc/layer_tree_host.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M cc/layer_tree_host_impl.h View 1 2 3 chunks +1 line, -17 lines 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 4 chunks +2 lines, -16 lines 0 comments Download
M cc/layer_tree_host_impl_unittest.cc View 1 2 45 chunks +49 lines, -49 lines 0 comments Download
M cc/layer_tree_host_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_tree_impl.h View 1 2 chunks +24 lines, -4 lines 0 comments Download
M cc/layer_tree_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
enne (OOO)
7 years, 11 months ago (2012-12-28 23:26:08 UTC) #1
danakj
This is me just keeping up with what's happening. https://codereview.chromium.org/11704003/diff/1/cc/delegated_renderer_layer_impl_unittest.cc File cc/delegated_renderer_layer_impl_unittest.cc (right): https://codereview.chromium.org/11704003/diff/1/cc/delegated_renderer_layer_impl_unittest.cc#newcode110 cc/delegated_renderer_layer_impl_unittest.cc:110: ...
7 years, 11 months ago (2012-12-31 15:18:38 UTC) #2
enne (OOO)
https://codereview.chromium.org/11704003/diff/1/cc/delegated_renderer_layer_impl_unittest.cc File cc/delegated_renderer_layer_impl_unittest.cc (right): https://codereview.chromium.org/11704003/diff/1/cc/delegated_renderer_layer_impl_unittest.cc#newcode110 cc/delegated_renderer_layer_impl_unittest.cc:110: m_hostImpl->activeTree()->SetRootLayer(rootLayer.Pass()); On 2012/12/31 15:18:38, danakj wrote: > IIUC, in ...
7 years, 11 months ago (2012-12-31 23:52:36 UTC) #3
danakj
https://codereview.chromium.org/11704003/diff/1/cc/delegated_renderer_layer_impl_unittest.cc File cc/delegated_renderer_layer_impl_unittest.cc (right): https://codereview.chromium.org/11704003/diff/1/cc/delegated_renderer_layer_impl_unittest.cc#newcode110 cc/delegated_renderer_layer_impl_unittest.cc:110: m_hostImpl->activeTree()->SetRootLayer(rootLayer.Pass()); On 2012/12/31 23:52:36, enne wrote: > On 2012/12/31 ...
7 years, 11 months ago (2013-01-01 00:39:22 UTC) #4
danakj
In the spirit of Nat: Three cheers for sweet LGTMMMmmm https://codereview.chromium.org/11704003/diff/1/cc/layer_tree_impl.h File cc/layer_tree_impl.h (right): https://codereview.chromium.org/11704003/diff/1/cc/layer_tree_impl.h#newcode100 ...
7 years, 11 months ago (2013-01-04 22:14:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11704003/9001
7 years, 11 months ago (2013-01-04 22:23:48 UTC) #6
commit-bot: I haz the power
Failed to apply patch for cc/layer_tree_host_impl.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 11 months ago (2013-01-04 22:23:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11704003/12001
7 years, 11 months ago (2013-01-04 22:51:52 UTC) #8
commit-bot: I haz the power
7 years, 11 months ago (2013-01-05 01:27:02 UTC) #9
Message was sent while issue was closed.
Change committed as 175252

Powered by Google App Engine
This is Rietveld 408576698