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

Issue 2083423006: Remove default begin frame sources from the renderer (Closed)

Created:
4 years, 6 months ago by enne (OOO)
Modified:
4 years, 3 months ago
Reviewers:
danakj, no sievers
CC:
chromium-reviews, danakj, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove default begin frame sources from the renderer This changes both cc proxies to no longer create default begin frame sources. In cc, it must either be the case that an external begin frame source is provided (with use_external_begin_frame_source set) or the output surface provides a begin frame source (with use_output_surface_begin_frame_source). This changes the world from three states of BFS creation (default, output surface provided, and external) to only two (output surface provided and external). In the future, external will also be removed. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/da025c649b0c2339771f2b06c482dcf8e388e889 Committed: https://crrev.com/5593b84f823ee1517347cf773c6cd1854c0268ba Cr-Original-Commit-Position: refs/heads/master@{#415757} Cr-Commit-Position: refs/heads/master@{#416033}

Patch Set 1 #

Patch Set 2 : Rebase on https://codereview.chromium.org/2075343003 #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Now working for blimp #

Patch Set 6 : Fix more tests #

Total comments: 3

Patch Set 7 : danakj comments #

Total comments: 1

Patch Set 8 : Fix last minute edit compilation problem #

Patch Set 9 : Remove commit vsync parameters too #

Patch Set 10 : Rebase #

Patch Set 11 : Remove redundant settings #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -116 lines) Patch
M cc/output/output_surface_client.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M cc/surfaces/display.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M cc/surfaces/display.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -6 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl_client.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M cc/test/fake_output_surface_client.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -12 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/proxy_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -4 lines 0 comments Download
M cc/trees/proxy_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +14 lines, -27 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -4 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -25 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -13 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 57 (32 generated)
enne (OOO)
4 years, 6 months ago (2016-06-24 18:11:21 UTC) #2
no sievers
lgtm
4 years, 6 months ago (2016-06-24 22:35:29 UTC) #3
enne (OOO)
Unified begin frame stuff maybe just might possibly stick, so will land this now. <_<
4 years, 4 months ago (2016-08-12 21:40:30 UTC) #8
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/2083423006/60001
4 years, 4 months ago (2016-08-12 21:41:13 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-12 23:03:43 UTC) #12
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/3ba9b9d3500d799ee36bd41d0b36aecbc924111a Cr-Commit-Position: refs/heads/master@{#411809}
4 years, 4 months ago (2016-08-12 23:05:08 UTC) #14
caseq
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2241083002/ by caseq@chromium.org. ...
4 years, 4 months ago (2016-08-13 00:58:24 UTC) #15
danakj
Probably my fault, I made them set use_output_surface_bfs?
4 years, 4 months ago (2016-08-13 00:59:45 UTC) #17
enne (OOO)
danakj: thanks for the change LayerTreeSettings default suggestion. Do you want to peek at this ...
4 years, 4 months ago (2016-08-16 00:26:06 UTC) #23
danakj
LGTM https://codereview.chromium.org/2083423006/diff/100001/cc/trees/single_thread_proxy.cc File cc/trees/single_thread_proxy.cc (right): https://codereview.chromium.org/2083423006/diff/100001/cc/trees/single_thread_proxy.cc#newcode80 cc/trees/single_thread_proxy.cc:80: // TODO(enne): make all BFS come from the ...
4 years, 4 months ago (2016-08-16 00:30:04 UTC) #24
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/2083423006/120001
4 years, 4 months ago (2016-08-16 17:28:10 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/123544)
4 years, 4 months ago (2016-08-16 17:45:44 UTC) #29
danakj
https://codereview.chromium.org/2083423006/diff/120001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/2083423006/diff/120001/content/renderer/gpu/render_widget_compositor.cc#newcode457 content/renderer/gpu/render_widget_compositor.cc:457: if (command_line->HasSwitch(switches::kUseRemoteCompositing)) { cmd.HasSwitch
4 years, 4 months ago (2016-08-16 17:47:25 UTC) #30
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/2083423006/140001
4 years, 4 months ago (2016-08-16 20:13:51 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/262104)
4 years, 4 months ago (2016-08-16 20:21:08 UTC) #35
enne (OOO)
Oh, this would break the vsync settings if you used --disable-begin-frame-scheduling. I'll wait until next ...
4 years, 4 months ago (2016-08-16 22:17:54 UTC) #36
enne (OOO)
Ok, now it's time to land this. :)
4 years, 3 months ago (2016-08-31 20:24:27 UTC) #41
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/2083423006/200001
4 years, 3 months ago (2016-08-31 21:17:20 UTC) #46
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 3 months ago (2016-08-31 21:23:05 UTC) #47
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/da025c649b0c2339771f2b06c482dcf8e388e889 Cr-Commit-Position: refs/heads/master@{#415757}
4 years, 3 months ago (2016-08-31 21:25:00 UTC) #49
fgorski
A revert of this CL (patchset #11 id:200001) has been created in https://codereview.chromium.org/2296353002/ by fgorski@chromium.org. ...
4 years, 3 months ago (2016-08-31 22:15:56 UTC) #50
enne (OOO)
Am going to reland this as https://codereview.chromium.org/2286273003 appears to be the problematic CL.
4 years, 3 months ago (2016-09-01 18:44:42 UTC) #51
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/2083423006/220001
4 years, 3 months ago (2016-09-01 18:45:39 UTC) #54
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 3 months ago (2016-09-01 20:21:45 UTC) #55
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 20:24:22 UTC) #57
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/5593b84f823ee1517347cf773c6cd1854c0268ba
Cr-Commit-Position: refs/heads/master@{#416033}

Powered by Google App Engine
This is Rietveld 408576698