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

Issue 1385043002: cc: Remove SetLayerTreeHostClientReady() (Closed)

Created:
5 years, 2 months ago by no sievers
Modified:
5 years, 2 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dtrainor+watch-blimp_chromium.org, jam, jbauman+watch_chromium.org, kalyank, kmarshall+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nyquist+watch-blimp_chromium.org, piman+watch_chromium.org, scheduler-bugs_chromium.org, sievers+watch_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@startcomp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Remove SetLayerTreeHostClientReady() There are no call sites that need this anymore, the behavior can be achieved in other ways now that OutputSurface creation has been async for a while. Also make the default LTH state invisible to match the scheduler init state. This also avoids races where we'd otherwise schedule actions when starting the proxy (i.e. LTH creation time) which were previously delayed until setLTHClientReady(). BUG=538714, 539991 TBR=dtrainor@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/71c62dd5e2913b6c4b7f02338aa84120d73da5a5 Cr-Commit-Position: refs/heads/master@{#352742}

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase #

Patch Set 3 : make more tests set LTH/LTHI to visible (ones that were passing) #

Patch Set 4 : build #

Patch Set 5 : fix webkit_unit_tests #

Patch Set 6 : sky's offline comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -143 lines) Patch
M blimp/client/compositor/blimp_compositor.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/layers/delegated_renderer_layer_impl_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/heads_up_display_layer_impl_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/layer_impl_unittest.cc View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M cc/layers/nine_patch_layer_impl_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/picture_image_layer_impl_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/picture_layer_impl_perftest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 4 chunks +4 lines, -0 lines 0 comments Download
M cc/layers/picture_layer_unittest.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/ui_resource_layer_impl_unittest.cc View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.h View 3 chunks +1 line, -7 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 11 chunks +10 lines, -16 lines 0 comments Download
M cc/scheduler/scheduler_state_machine_unittest.cc View 19 chunks +2 lines, -20 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 3 chunks +0 lines, -4 lines 0 comments Download
M cc/test/fake_proxy.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/layer_test_common.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/scheduler_test_common.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/tiles/tile_manager_perftest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/tiles/tile_manager_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/channel_main.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 4 chunks +1 line, -7 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 7 chunks +9 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/occlusion_tracker_perftest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/proxy.h View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/trees/proxy_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/single_thread_proxy.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M cc/trees/thread_proxy.h View 2 chunks +0 lines, -2 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 2 chunks +2 lines, -11 lines 0 comments Download
M cc/trees/threaded_channel.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/threaded_channel.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M components/html_viewer/web_layer_tree_view_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M components/mus/surfaces/surfaces_scheduler.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 3 chunks +2 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 4 chunks +9 lines, -4 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_widget.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_widget.cc View 1 2 4 chunks +10 lines, -11 lines 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.cc View 1 2 3 4 1 chunk +5 lines, -4 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (13 generated)
no sievers
https://codereview.chromium.org/1385043002/diff/1/cc/trees/layer_tree_host_impl_unittest.cc File cc/trees/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/1385043002/diff/1/cc/trees/layer_tree_host_impl_unittest.cc#newcode6574 cc/trees/layer_tree_host_impl_unittest.cc:6574: // dirties tile priorities. @reveman: thoughts on this?
5 years, 2 months ago (2015-10-05 19:51:11 UTC) #2
no sievers
On 2015/10/05 19:51:11, sievers wrote: > https://codereview.chromium.org/1385043002/diff/1/cc/trees/layer_tree_host_impl_unittest.cc > File cc/trees/layer_tree_host_impl_unittest.cc (right): > > https://codereview.chromium.org/1385043002/diff/1/cc/trees/layer_tree_host_impl_unittest.cc#newcode6574 > ...
5 years, 2 months ago (2015-10-05 19:57:43 UTC) #3
piman
drive-by LGTM
5 years, 2 months ago (2015-10-05 22:28:59 UTC) #6
reveman
lgtm https://codereview.chromium.org/1385043002/diff/1/cc/trees/layer_tree_host_impl_unittest.cc File cc/trees/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/1385043002/diff/1/cc/trees/layer_tree_host_impl_unittest.cc#newcode6574 cc/trees/layer_tree_host_impl_unittest.cc:6574: // dirties tile priorities. On 2015/10/05 at 19:51:10, ...
5 years, 2 months ago (2015-10-06 00:46:06 UTC) #7
no sievers
Thanks guys! In ps3 I've made more cc tests set the LTH/LTHI to visible, even ...
5 years, 2 months ago (2015-10-06 19:39:47 UTC) #8
no sievers
Dana was suggesting to split the patch into two parts: remove setLTHClientReady(), and change LTH ...
5 years, 2 months ago (2015-10-06 22:45:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385043002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385043002/80001
5 years, 2 months ago (2015-10-06 23:31:31 UTC) #12
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/107272)
5 years, 2 months ago (2015-10-06 23:50:37 UTC) #16
no sievers
+sky for components/html_viewer/web_layer_tree_view_impl.cc
5 years, 2 months ago (2015-10-07 00:09:54 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385043002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385043002/120001
5 years, 2 months ago (2015-10-07 00:35:20 UTC) #22
sky
LGTM +fsamuel
5 years, 2 months ago (2015-10-07 01:37:36 UTC) #24
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 2 months ago (2015-10-07 01:44:58 UTC) #25
commit-bot: I haz the power
5 years, 2 months ago (2015-10-07 01:45:48 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/71c62dd5e2913b6c4b7f02338aa84120d73da5a5
Cr-Commit-Position: refs/heads/master@{#352742}

Powered by Google App Engine
This is Rietveld 408576698