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

Issue 1411663002: cc: Split Proxy to eliminate unnecessary dependencies on the impl side (Closed)

Created:
5 years, 2 months ago by Khushal
Modified:
5 years, 2 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, 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 to eliminate unnecessary dependencies on the impl side The impl side of the compositor uses Proxy to only access the task runners and make debug assertions. Move those parts to TaskRunnerProvider to seperate these dependencies. BUG=527200 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/b64b360d1ccab108abfaa1b08b17ab8a7b48dcce Cr-Commit-Position: refs/heads/master@{#355370}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Update tests. #

Patch Set 3 : #

Patch Set 4 : Rebase. #

Patch Set 5 : Update perf tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+563 lines, -529 lines) Patch
M cc/BUILD.gn View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M cc/animation/scrollbar_animation_controller_thinning_unittest.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M cc/cc.gyp View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/debug/frame_timing_tracker.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M cc/debug/frame_timing_tracker_unittest.cc View 1 10 chunks +19 lines, -19 lines 0 comments Download
M cc/debug/micro_benchmark_controller_unittest.cc View 1 4 chunks +7 lines, -4 lines 0 comments Download
M cc/input/scroll_state_unittest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M cc/input/top_controls_manager_unittest.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M cc/layers/delegated_renderer_layer_impl_unittest.cc View 1 2 chunks +7 lines, -6 lines 0 comments Download
M cc/layers/heads_up_display_layer_impl_unittest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/layer_impl_unittest.cc View 1 7 chunks +11 lines, -11 lines 0 comments Download
M cc/layers/layer_iterator_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M cc/layers/layer_perftest.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M cc/layers/layer_utils_unittest.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M cc/layers/nine_patch_layer_impl_unittest.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/picture_image_layer_impl_unittest.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/picture_layer_impl_perftest.cc View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download
M cc/layers/render_surface_unittest.cc View 1 4 chunks +7 lines, -7 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
M cc/layers/solid_color_layer_impl_unittest.cc View 1 5 chunks +13 lines, -9 lines 0 comments Download
M cc/layers/surface_layer_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/texture_layer_impl.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M cc/layers/ui_resource_layer_impl_unittest.cc View 1 4 chunks +10 lines, -10 lines 0 comments Download
M cc/layers/video_frame_provider_client_impl_unittest.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download
M cc/layers/video_layer_impl.cc View 1 4 chunks +9 lines, -7 lines 0 comments Download
M cc/layers/video_layer_impl_unittest.cc View 1 10 chunks +13 lines, -12 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
D cc/test/fake_impl_proxy.h View 1 1 chunk +0 lines, -35 lines 0 comments Download
A cc/test/fake_impl_task_runner_provider.h View 1 1 chunk +35 lines, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/fake_layer_tree_host.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_layer_tree_host_impl.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl.cc View 1 1 chunk +13 lines, -11 lines 0 comments Download
M cc/test/fake_ui_resource_layer_tree_host_impl.h View 1 1 chunk +4 lines, -3 lines 0 comments Download
M cc/test/fake_ui_resource_layer_tree_host_impl.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M cc/test/layer_test_common.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M cc/test/layer_tree_json_parser_unittest.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/tiles/tile_manager_perftest.cc View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M cc/tiles/tile_manager_unittest.cc View 1 2 3 6 chunks +13 lines, -9 lines 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 20 chunks +40 lines, -38 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 8 chunks +18 lines, -12 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 13 chunks +34 lines, -22 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 12 chunks +22 lines, -22 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 3 chunks +3 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 3 chunks +5 lines, -10 lines 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 1 2 3 4 chunks +9 lines, -7 lines 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/proxy.h View 1 3 chunks +3 lines, -65 lines 0 comments Download
M cc/trees/proxy.cc View 1 1 chunk +1 line, -72 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 3 chunks +16 lines, -12 lines 0 comments Download
A cc/trees/task_runner_provider.h View 1 1 chunk +107 lines, -0 lines 0 comments Download
A + cc/trees/task_runner_provider.cc View 1 5 chunks +15 lines, -13 lines 0 comments Download
M cc/trees/tree_synchronizer_unittest.cc View 1 4 chunks +11 lines, -14 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
Khushal
5 years, 2 months ago (2015-10-16 07:42:29 UTC) #2
Khushal
I have only updated a few tests right now. Could you take a look and ...
5 years, 2 months ago (2015-10-16 07:46:44 UTC) #3
vmpstr
That's a nice abstraction, except my main problem is that I wouldn't call it a ...
5 years, 2 months ago (2015-10-16 18:42:26 UTC) #5
Khushal
Changed the name. I was confused about what to name it myself. TaskRunnerProvider seems a ...
5 years, 2 months ago (2015-10-17 00:06:30 UTC) #6
vmpstr
lgtm, thanks!
5 years, 2 months ago (2015-10-20 18:44:39 UTC) #7
vmpstr
On 2015/10/20 18:44:39, vmpstr wrote: > lgtm, thanks! Can you update the description to match ...
5 years, 2 months ago (2015-10-20 18:44:56 UTC) #8
Khushal
On 2015/10/20 18:44:56, vmpstr wrote: > On 2015/10/20 18:44:39, vmpstr wrote: > > lgtm, thanks! ...
5 years, 2 months ago (2015-10-20 19:27:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411663002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411663002/60001
5 years, 2 months ago (2015-10-20 20:19:40 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/112557) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-10-20 20:32:10 UTC) #15
Khushal
A couple of perf tests needed to be updated as well. Could you please take ...
5 years, 2 months ago (2015-10-21 02:56:44 UTC) #16
vmpstr
On 2015/10/21 02:56:44, Khushal wrote: > A couple of perf tests needed to be updated ...
5 years, 2 months ago (2015-10-21 17:44:42 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411663002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411663002/80001
5 years, 2 months ago (2015-10-21 18:03:13 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-10-21 19:25:24 UTC) #20
commit-bot: I haz the power
5 years, 2 months ago (2015-10-21 19:26:15 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b64b360d1ccab108abfaa1b08b17ab8a7b48dcce
Cr-Commit-Position: refs/heads/master@{#355370}

Powered by Google App Engine
This is Rietveld 408576698