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

Issue 2661523003: cc: Merge LayerTree into the LayerTreeHost. (Closed)

Created:
3 years, 11 months ago by Khushal
Modified:
3 years, 10 months ago
Reviewers:
danakj, pdr., enne (OOO), boliu, piman
CC:
cc-bugs_chromium.org, chromium-reviews, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Merge LayerTree into the LayerTreeHost. The class was split so the code could be shared with the LayerTreeHost implementation in blimp. Since this is no longer necessary, this merges the LayerTree back into the host. BUG=682436 TBR=piman@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2661523003 Cr-Commit-Position: refs/heads/master@{#446791} Committed: https://chromium.googlesource.com/chromium/src/+/b69ba945a0cf9cb00e9fe4bec3037d4255a60902

Patch Set 1 #

Patch Set 2 : content, blink etc. #

Patch Set 3 : .. #

Patch Set 4 : .. #

Total comments: 10

Patch Set 5 : dana's comments. #

Patch Set 6 : auto #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1664 lines, -1849 lines) Patch
M cc/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/debug/invalidation_benchmark.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/debug/invalidation_benchmark.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M cc/debug/micro_benchmark.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/debug/micro_benchmark.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/debug/micro_benchmark_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/debug/rasterize_and_record_benchmark.h View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/debug/rasterize_and_record_benchmark.cc View 4 chunks +8 lines, -6 lines 0 comments Download
M cc/debug/unittest_only_benchmark.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/debug/unittest_only_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.h View 1 5 chunks +3 lines, -6 lines 0 comments Download
M cc/layers/layer.cc View 29 chunks +46 lines, -53 lines 0 comments Download
M cc/layers/layer_list_iterator_unittest.cc View 4 chunks +4 lines, -4 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_unittest.cc View 47 chunks +105 lines, -114 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 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_unittest.cc View 7 chunks +8 lines, -8 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 16 chunks +17 lines, -19 lines 0 comments Download
M cc/layers/surface_layer_unittest.cc View 8 chunks +8 lines, -10 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 12 chunks +15 lines, -18 lines 0 comments Download
M cc/layers/ui_resource_layer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/output/bsp_tree_perftest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/test/fake_layer_tree_host.h View 1 chunk +1 line, -11 lines 0 comments Download
M cc/test/fake_layer_tree_host.cc View 3 chunks +11 lines, -31 lines 0 comments Download
M cc/test/layer_tree_pixel_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/layer_tree_test.cc View 4 chunks +12 lines, -13 lines 0 comments Download
M cc/test/push_properties_counting_layer.cc View 2 chunks +2 lines, -1 line 0 comments Download
M cc/trees/draw_property_utils.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/draw_property_utils.cc View 2 chunks +2 lines, -3 lines 0 comments Download
D cc/trees/layer_tree.h View 1 chunk +0 lines, -280 lines 0 comments Download
D cc/trees/layer_tree.cc View 1 chunk +0 lines, -511 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 5 10 chunks +234 lines, -25 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 22 chunks +531 lines, -85 lines 0 comments Download
M cc/trees/layer_tree_host_common.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 3 chunks +4 lines, -3 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 13 chunks +26 lines, -28 lines 0 comments Download
M cc/trees/layer_tree_host_perftest.cc View 4 chunks +5 lines, -5 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_scrollbars.cc View 1 chunk +1 line, -2 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 97 chunks +299 lines, -299 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 28 chunks +42 lines, -41 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 9 chunks +11 lines, -11 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_copyrequest.cc View 19 chunks +20 lines, -19 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_damage.cc View 9 chunks +9 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_occlusion.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_picture.cc View 9 chunks +14 lines, -14 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 26 chunks +75 lines, -60 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 4 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/tree_synchronizer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/tree_synchronizer.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M cc/trees/tree_synchronizer_unittest.cc View 7 chunks +8 lines, -8 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 4 chunks +6 lines, -6 lines 0 comments Download
M content/renderer/gpu/gpu_benchmarking_extension.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 14 chunks +27 lines, -28 lines 0 comments Download
M content/renderer/pepper/pepper_compositor_host.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 4 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 1 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.cpp View 1 3 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp View 1 7 chunks +17 lines, -18 lines 0 comments Download
M ui/compositor/compositor.cc View 1 6 chunks +7 lines, -9 lines 0 comments Download

Messages

Total messages: 35 (23 generated)
Khushal
enne : cc/ and content/renderer/ danakj : cc/ and ui/ boliu : compositor_impl_android pdr : ...
3 years, 11 months ago (2017-01-27 03:07:52 UTC) #5
danakj
LGTM https://codereview.chromium.org/2661523003/diff/60001/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/2661523003/diff/60001/cc/layers/layer.h#newcode442 cc/layers/layer.h:442: LayerTreeHost* layer_tree_host() const { return layer_tree_host_; } There ...
3 years, 10 months ago (2017-01-27 17:25:09 UTC) #16
boliu
lgtm
3 years, 10 months ago (2017-01-27 18:18:41 UTC) #17
pdr.
This cleanup is looking great. WebKit/ LGTM
3 years, 10 months ago (2017-01-27 18:22:23 UTC) #18
enne (OOO)
lgtm
3 years, 10 months ago (2017-01-27 18:34:52 UTC) #19
Khushal
https://codereview.chromium.org/2661523003/diff/60001/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/2661523003/diff/60001/cc/layers/layer.h#newcode442 cc/layers/layer.h:442: LayerTreeHost* layer_tree_host() const { return layer_tree_host_; } On 2017/01/27 ...
3 years, 10 months ago (2017-01-27 18:52:19 UTC) #21
Khushal
TBRing piman for the 2 test files. Trivial changes.
3 years, 10 months ago (2017-01-27 18:53:10 UTC) #23
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/2661523003/80001
3 years, 10 months ago (2017-01-27 18:53:47 UTC) #26
danakj
https://codereview.chromium.org/2661523003/diff/60001/cc/trees/layer_tree_host.h File cc/trees/layer_tree_host.h (right): https://codereview.chromium.org/2661523003/diff/60001/cc/trees/layer_tree_host.h#newcode82 cc/trees/layer_tree_host.h:82: using LayerSet = std::unordered_set<Layer*>; On 2017/01/27 18:52:19, Khushal wrote: ...
3 years, 10 months ago (2017-01-27 19:07:08 UTC) #27
Khushal
https://codereview.chromium.org/2661523003/diff/60001/cc/trees/layer_tree_host.h File cc/trees/layer_tree_host.h (right): https://codereview.chromium.org/2661523003/diff/60001/cc/trees/layer_tree_host.h#newcode82 cc/trees/layer_tree_host.h:82: using LayerSet = std::unordered_set<Layer*>; On 2017/01/27 19:07:08, danakj (slow) ...
3 years, 10 months ago (2017-01-27 19:24:40 UTC) #31
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/2661523003/100001
3 years, 10 months ago (2017-01-27 19:24:46 UTC) #32
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 22:20:43 UTC) #35
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/b69ba945a0cf9cb00e9fe4bec303...

Powered by Google App Engine
This is Rietveld 408576698