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

Issue 2251143002: cc: Reland Move data to LayerTree from LayerTreeHost. (Closed)

Created:
4 years, 4 months ago by Khushal
Modified:
4 years, 4 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, dshwang, sievers+watch_chromium.org, rwlbuis, krit, drott+blinkwatch_chromium.org, jam, Justin Novosad, jbauman+watch_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, darin-cc_chromium.org, blink-reviews, kalyank, ajuma+watch_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, creis+watch_chromium.org, jbroman, danakj+watch_chromium.org, pdr+graphicswatchlist_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, f(malita), Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Reland "Move data to LayerTree from LayerTreeHost." Move bulk of the tree state from LayerTreeHost to LayerTree. The LayerTree mirrors LayerTreeImpl in terms of what it stores and is used to push the corresponding properties to LayerTreeImpl during commit. The test was casting a MockLayerTree to a StrictMock<MockLayerTree>. Make sure to create the correct type. TBR=vollick,piman BUG=628683 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/86928f9503d820305efffe338712ab25a3f2f27d Cr-Commit-Position: refs/heads/master@{#412655}

Patch Set 1 #

Patch Set 2 : revert patch #

Patch Set 3 : fix cast #

Patch Set 4 : add comment #

Total comments: 1

Patch Set 5 : better fix? #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1592 lines, -1452 lines) Patch
M cc/debug/invalidation_benchmark.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/heads_up_display_unittest.cc View 1 chunk +13 lines, -13 lines 0 comments Download
M cc/layers/layer.cc View 30 chunks +36 lines, -38 lines 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M cc/layers/layer_proto_converter.h View 1 chunk +1 line, -1 line 1 comment Download
M cc/layers/layer_unittest.cc View 1 2 3 4 49 chunks +90 lines, -82 lines 0 comments Download
M cc/layers/painted_scrollbar_layer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/picture_layer.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_unittest.cc View 11 chunks +12 lines, -12 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 18 chunks +20 lines, -19 lines 0 comments Download
M cc/layers/surface_layer_unittest.cc View 8 chunks +10 lines, -8 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 12 chunks +18 lines, -15 lines 0 comments Download
M cc/output/delegating_renderer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/proto/layer_tree.proto View 1 chunk +30 lines, -0 lines 0 comments Download
M cc/proto/layer_tree_host.proto View 2 chunks +1 line, -29 lines 0 comments Download
M cc/test/fake_layer_tree_host.h View 1 chunk +7 lines, -3 lines 0 comments Download
M cc/test/fake_layer_tree_host.cc View 2 chunks +30 lines, -7 lines 1 comment Download
M cc/test/layer_tree_pixel_test.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/layer_tree_test.cc View 3 chunks +11 lines, -11 lines 0 comments Download
M cc/trees/layer_tree.h View 3 chunks +164 lines, -6 lines 0 comments Download
M cc/trees/layer_tree.cc View 2 chunks +455 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host.h View 13 chunks +17 lines, -117 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 33 chunks +91 lines, -455 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_perftest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 6 chunks +14 lines, -15 lines 0 comments Download
M cc/trees/layer_tree_host_perftest.cc View 4 chunks +11 lines, -10 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_filters.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_readback.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_tiles.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 91 chunks +188 lines, -235 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 28 chunks +36 lines, -37 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 8 chunks +10 lines, -10 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_copyrequest.cc View 19 chunks +19 lines, -20 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_damage.cc View 8 chunks +8 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_occlusion.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_picture.cc View 7 chunks +10 lines, -10 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 23 chunks +54 lines, -68 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_serialization.cc View 7 chunks +135 lines, -123 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_video.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/remote_channel_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/tree_synchronizer.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 4 chunks +8 lines, -7 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 13 chunks +25 lines, -25 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp View 7 chunks +14 lines, -14 lines 0 comments Download
M ui/compositor/compositor.cc View 4 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
Khushal
4 years, 4 months ago (2016-08-17 18:16:04 UTC) #4
Ian Vollick
On 2016/08/17 18:16:04, Khushal wrote: Is it possible to upload to the previous issue so ...
4 years, 4 months ago (2016-08-17 18:18:49 UTC) #5
Khushal
On 2016/08/17 18:18:49, vollick wrote: > On 2016/08/17 18:16:04, Khushal wrote: > > Is it ...
4 years, 4 months ago (2016-08-17 18:23:00 UTC) #6
Ian Vollick
On 2016/08/17 18:23:00, Khushal wrote: > On 2016/08/17 18:18:49, vollick wrote: > > On 2016/08/17 ...
4 years, 4 months ago (2016-08-17 18:27:17 UTC) #7
Khushal
https://codereview.chromium.org/2251143002/diff/60001/cc/layers/layer_unittest.cc File cc/layers/layer_unittest.cc (right): https://codereview.chromium.org/2251143002/diff/60001/cc/layers/layer_unittest.cc#newcode904 cc/layers/layer_unittest.cc:904: // We pass the raw pointer to the AnimationHost ...
4 years, 4 months ago (2016-08-17 18:43:55 UTC) #8
Ian Vollick
On 2016/08/17 18:43:55, Khushal wrote: > https://codereview.chromium.org/2251143002/diff/60001/cc/layers/layer_unittest.cc > File cc/layers/layer_unittest.cc (right): > > https://codereview.chromium.org/2251143002/diff/60001/cc/layers/layer_unittest.cc#newcode904 > ...
4 years, 4 months ago (2016-08-17 18:52:32 UTC) #9
piman
lgtm
4 years, 4 months ago (2016-08-17 18:55:52 UTC) #10
danakj
That fix LGTM. Can you copy the CL description from the original CL over here ...
4 years, 4 months ago (2016-08-17 19:46:49 UTC) #15
Khushal
On 2016/08/17 19:46:49, danakj wrote: > That fix LGTM. Can you copy the CL description ...
4 years, 4 months ago (2016-08-17 19:58:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2251143002/80001
4 years, 4 months ago (2016-08-17 19:59:14 UTC) #21
vmpstr
lgtm https://codereview.chromium.org/2251143002/diff/80001/cc/layers/layer_proto_converter.h File cc/layers/layer_proto_converter.h (right): https://codereview.chromium.org/2251143002/diff/80001/cc/layers/layer_proto_converter.h#newcode37 cc/layers/layer_proto_converter.h:37: LayerTreeHost* layer_tree); nit: this is still a layer_tree_host. ...
4 years, 4 months ago (2016-08-17 20:28:15 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-17 21:49:30 UTC) #24
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 21:53:30 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/86928f9503d820305efffe338712ab25a3f2f27d
Cr-Commit-Position: refs/heads/master@{#412655}

Powered by Google App Engine
This is Rietveld 408576698