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

Issue 1419283002: cc: Split Proxy and TaskRunnerProvider for the LayerTreeHost (Closed)

Created:
5 years, 2 months ago by Khushal
Modified:
5 years, 1 month ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Split Proxy and TaskRunnerProvider for the LayerTreeHost The LayerTreeHost uses the abstract part of Proxy to access the impl side of the compositor and the TaskRunnerProvider to access the main task runner and assertion checks. Decoupling these 2 will allow the LayerTreeHost used only for deserialization and commits on the client to be built without a proxy. This is a follow-up patch to: https://codereview.chromium.org/1418953002/ BUG=527200 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/b7db1fe24ebd92ed43f995ee615f1b4b02cc7c43 Cr-Commit-Position: refs/heads/master@{#359196}

Patch Set 1 #

Patch Set 2 : Update tests. #

Patch Set 3 : Add missing include in perf test. #

Total comments: 8

Patch Set 4 : Rebase. #

Patch Set 5 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -385 lines) Patch
M cc/BUILD.gn View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M cc/cc.gyp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M cc/debug/micro_benchmark_controller_unittest.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M cc/layers/delegated_renderer_layer_unittest.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M cc/layers/picture_layer_unittest.cc View 1 1 chunk +15 lines, -17 lines 0 comments Download
M cc/test/fake_proxy.h View 1 2 3 4 1 chunk +1 line, -5 lines 0 comments Download
M cc/test/layer_tree_pixel_resource_test.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 2 3 4 2 chunks +9 lines, -3 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 11 chunks +51 lines, -54 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host.cc View 1 11 chunks +27 lines, -21 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 2 chunks +2 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_readback.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 1 8 chunks +10 lines, -11 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_copyrequest.cc View 1 2 3 7 chunks +7 lines, -7 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_proxy.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M cc/trees/occlusion_tracker_perftest.cc View 1 2 3 chunks +5 lines, -7 lines 0 comments Download
M cc/trees/proxy.h View 1 2 3 4 2 chunks +4 lines, -11 lines 0 comments Download
D cc/trees/proxy.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 4 chunks +8 lines, -6 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 31 chunks +71 lines, -72 lines 0 comments Download
M cc/trees/task_runner_provider.h View 3 chunks +9 lines, -1 line 0 comments Download
M cc/trees/thread_proxy.h View 1 4 chunks +7 lines, -7 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 47 chunks +101 lines, -100 lines 0 comments Download
M cc/trees/threaded_channel.h View 1 3 chunks +3 lines, -9 lines 0 comments Download
M cc/trees/threaded_channel.cc View 1 2 chunks +7 lines, -12 lines 0 comments Download
M cc/trees/threaded_channel_unittest.cc View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (3 generated)
Khushal
The LayerTreeHost used for deserialization and creating the LayerTreeHostImpl shouldn't need a proxy or LayerTreeHostClient. ...
5 years, 2 months ago (2015-10-23 22:33:14 UTC) #2
Khushal
On 2015/10/23 22:33:14, Khushal wrote: > The LayerTreeHost used for deserialization and creating the LayerTreeHostImpl ...
5 years, 1 month ago (2015-11-02 23:54:41 UTC) #4
danakj
On Mon, Nov 2, 2015 at 3:54 PM, <khushalsagar@chromium.org> wrote: > On 2015/10/23 22:33:14, Khushal ...
5 years, 1 month ago (2015-11-03 00:03:11 UTC) #5
Khushal
On 2015/11/03 00:03:11, danakj wrote: > On Mon, Nov 2, 2015 at 3:54 PM, <mailto:khushalsagar@chromium.org> ...
5 years, 1 month ago (2015-11-03 00:53:27 UTC) #6
Khushal
Updated the tests for this. Could you please take a look again?
5 years, 1 month ago (2015-11-05 00:39:35 UTC) #7
Khushal
On 2015/11/05 00:39:35, Khushal wrote: > Updated the tests for this. > Could you please ...
5 years, 1 month ago (2015-11-06 19:30:06 UTC) #8
vmpstr
mostly nits. https://codereview.chromium.org/1419283002/diff/40001/cc/test/fake_proxy.h File cc/test/fake_proxy.h (right): https://codereview.chromium.org/1419283002/diff/40001/cc/test/fake_proxy.h#newcode14 cc/test/fake_proxy.h:14: class FakeProxy : public Proxy { Is ...
5 years, 1 month ago (2015-11-10 21:59:34 UTC) #9
Khushal
Thanks. Done! https://codereview.chromium.org/1419283002/diff/40001/cc/test/fake_proxy.h File cc/test/fake_proxy.h (right): https://codereview.chromium.org/1419283002/diff/40001/cc/test/fake_proxy.h#newcode14 cc/test/fake_proxy.h:14: class FakeProxy : public Proxy { On ...
5 years, 1 month ago (2015-11-10 23:34:04 UTC) #10
vmpstr
lgtm
5 years, 1 month ago (2015-11-11 22:45:29 UTC) #11
Khushal
On 2015/11/11 22:45:29, vmpstr wrote: > lgtm Thanks Vlad!
5 years, 1 month ago (2015-11-11 22:47:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1419283002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1419283002/80001
5 years, 1 month ago (2015-11-11 22:51:10 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-12 00:51:34 UTC) #15
commit-bot: I haz the power
5 years, 1 month ago (2015-11-12 20:02:11 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b7db1fe24ebd92ed43f995ee615f1b4b02cc7c43
Cr-Commit-Position: refs/heads/master@{#359196}

Powered by Google App Engine
This is Rietveld 408576698