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

Issue 1921503005: cc: Move main thread hierarchy dependencies into PropertyTreeBuilder (Closed)

Created:
4 years, 8 months ago by sunxd
Modified:
4 years, 7 months ago
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Move main thread hierarchy dependencies into PropertyTreeBuilder Move PreCalculateMetaInformation to PropertyTreeBuilder. Convert Layer::children() calls to using LayerListIterator. BUG=600390 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/b365de0a276e993e014c561183c6e8beb2b99051 Cr-Commit-Position: refs/heads/master@{#390461}

Patch Set 1 #

Patch Set 2 : Use layer list iterator #

Patch Set 3 : Move FindFirstScrollableLayer #

Patch Set 4 : Resolve dependency issue #

Patch Set 5 : Fix content_unittests building failure #

Patch Set 6 : Remove dead code #

Patch Set 7 : Fix telemetry unittest problem #

Total comments: 9

Patch Set 8 : Resolve comments #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -289 lines) Patch
M cc/layers/layer_iterator_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_test_common.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_host_common_test.cc View 1 2 3 4 5 6 7 8 9 5 chunks +5 lines, -5 lines 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/draw_property_utils.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -17 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 5 6 7 8 3 chunks +2 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 6 7 8 9 chunks +14 lines, -33 lines 0 comments Download
M cc/trees/layer_tree_host_common.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -4 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -156 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 5 6 7 8 9 30 chunks +31 lines, -31 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_serialization.cc View 1 2 3 4 5 2 chunks +0 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/property_tree_builder.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 3 4 5 6 7 8 2 chunks +159 lines, -0 lines 0 comments Download
M content/renderer/gpu/gpu_benchmarking_extension.cc View 1 2 3 4 5 6 2 chunks +21 lines, -22 lines 0 comments Download

Messages

Total messages: 36 (18 generated)
sunxd
4 years, 7 months ago (2016-04-27 17:43:16 UTC) #4
ajuma
lgtm https://codereview.chromium.org/1921503005/diff/120001/cc/trees/property_tree_builder.cc File cc/trees/property_tree_builder.cc (right): https://codereview.chromium.org/1921503005/diff/120001/cc/trees/property_tree_builder.cc#newcode1075 cc/trees/property_tree_builder.cc:1075: return NULL; nit: nullptr https://codereview.chromium.org/1921503005/diff/120001/cc/trees/property_tree_builder.cc#newcode1086 cc/trees/property_tree_builder.cc:1086: return NULL; ...
4 years, 7 months ago (2016-04-27 18:03:05 UTC) #5
jaydasika
lgtm https://codereview.chromium.org/1921503005/diff/120001/cc/trees/draw_property_utils.cc File cc/trees/draw_property_utils.cc (right): https://codereview.chromium.org/1921503005/diff/120001/cc/trees/draw_property_utils.cc#newcode378 cc/trees/draw_property_utils.cc:378: UpdateRenderSurfaceForLayer(effect_tree, true, layer); This and ValidateRenderSurfacesRecursive can be ...
4 years, 7 months ago (2016-04-27 18:21:10 UTC) #6
jaydasika
2 more nits. https://codereview.chromium.org/1921503005/diff/120001/cc/trees/property_tree_builder.cc File cc/trees/property_tree_builder.cc (right): https://codereview.chromium.org/1921503005/diff/120001/cc/trees/property_tree_builder.cc#newcode169 cc/trees/property_tree_builder.cc:169: static void PreCalculateMetaInformationInternal( This should be ...
4 years, 7 months ago (2016-04-27 18:36:03 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921503005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921503005/140001
4 years, 7 months ago (2016-04-28 00:19:25 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-28 01:09:39 UTC) #11
sunxd
https://codereview.chromium.org/1921503005/diff/120001/cc/trees/property_tree_builder.cc File cc/trees/property_tree_builder.cc (right): https://codereview.chromium.org/1921503005/diff/120001/cc/trees/property_tree_builder.cc#newcode169 cc/trees/property_tree_builder.cc:169: static void PreCalculateMetaInformationInternal( On 2016/04/27 18:36:03, jaydasika wrote: > ...
4 years, 7 months ago (2016-04-28 14:21:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921503005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921503005/140001
4 years, 7 months ago (2016-04-28 15:39:55 UTC) #15
sunxd
4 years, 7 months ago (2016-04-28 18:13:24 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921503005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921503005/160001
4 years, 7 months ago (2016-04-28 18:13:35 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/26792) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-04-28 18:16:17 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921503005/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921503005/180001
4 years, 7 months ago (2016-04-28 18:36:27 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/174764)
4 years, 7 months ago (2016-04-28 18:45:57 UTC) #27
sunxd
Add enne@ for the change in content/renderer/gpu
4 years, 7 months ago (2016-04-28 18:58:45 UTC) #29
enne (OOO)
lgtm
4 years, 7 months ago (2016-04-28 20:23:44 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1921503005/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1921503005/180001
4 years, 7 months ago (2016-04-28 20:25:10 UTC) #32
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 7 months ago (2016-04-28 20:33:12 UTC) #34
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:20:39 UTC) #35
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/b365de0a276e993e014c561183c6e8beb2b99051
Cr-Commit-Position: refs/heads/master@{#390461}

Powered by Google App Engine
This is Rietveld 408576698