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

Issue 696413003: cc: Introduce forward_begin_frames_to_children and use_external_begin_frame_source (Closed)

Created:
6 years, 1 month ago by simonhong
Modified:
6 years, 1 month ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@sep
Project:
chromium
Visibility:
Public.

Description

cc: Introduce forward_begin_frames_to_children and use_external_begin_frame_source This flag is added into the LayerTreeSettings and SchedulerSettings. This is a small piece of unified BeginFrame scheduling. forward_begin_frames_to_children will be true when scheduler acts as a BeginFrame publisher for child Scheduler. begin_frame_scheduling_enabled is replaced with use_external_begin_frame_source for more descriptive. Also, same default value to use_external_begin_frame_source is used on LayerTreeSettings and SchedulerSettings for less confusing. This is dependent on https://codereview.chromium.org/619843002/. R=brianderson@chromium.org BUG=372086 Committed: https://crrev.com/2880b8edb63e0bb201d045bbbe32d185a9a3c6a3 Cr-Commit-Position: refs/heads/master@{#303743}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -62 lines) Patch
M cc/scheduler/scheduler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/scheduler/scheduler_settings.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M cc/scheduler/scheduler_settings.cc View 1 2 3 chunks +9 lines, -4 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 32 chunks +71 lines, -44 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/scheduler_test_common.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (2 generated)
simonhong
brianderson@, this is the re-start of previous unified BeginFrame work. This will be uploaded after ...
6 years, 1 month ago (2014-11-04 22:51:57 UTC) #2
brianderson
lgtm
6 years, 1 month ago (2014-11-04 23:49:17 UTC) #3
mithro-old
On 2014/11/04 23:49:17, brianderson wrote: Couple of questions based on your description; > This two ...
6 years, 1 month ago (2014-11-05 00:24:06 UTC) #4
piman
lgtm https://codereview.chromium.org/696413003/diff/1/cc/scheduler/scheduler_settings.cc File cc/scheduler/scheduler_settings.cc (right): https://codereview.chromium.org/696413003/diff/1/cc/scheduler/scheduler_settings.cc#newcode13 cc/scheduler/scheduler_settings.cc:13: : begin_frame_receiver(true), nit: it would be good to ...
6 years, 1 month ago (2014-11-05 00:39:14 UTC) #5
simonhong
On 2014/11/05 00:24:06, mithro wrote: > On 2014/11/04 23:49:17, brianderson wrote: > > Couple of ...
6 years, 1 month ago (2014-11-05 00:54:38 UTC) #6
brianderson
On 2014/11/05 00:24:06, mithro wrote: > On 2014/11/04 23:49:17, brianderson wrote: > > Couple of ...
6 years, 1 month ago (2014-11-05 00:55:35 UTC) #7
simonhong
On 2014/11/05 00:55:35, brianderson wrote: > On 2014/11/05 00:24:06, mithro wrote: > > On 2014/11/04 ...
6 years, 1 month ago (2014-11-05 01:03:59 UTC) #8
simonhong
On 2014/11/05 00:55:35, brianderson wrote: > On 2014/11/05 00:24:06, mithro wrote: > > On 2014/11/04 ...
6 years, 1 month ago (2014-11-05 01:28:56 UTC) #9
mithro-old
On 2014/11/05 01:03:59, simonhong wrote: > On 2014/11/05 00:55:35, brianderson wrote: > > On 2014/11/05 ...
6 years, 1 month ago (2014-11-05 01:36:48 UTC) #10
brianderson
On 2014/11/05 01:36:48, mithro wrote: > On 2014/11/05 01:03:59, simonhong wrote: > > On 2014/11/05 ...
6 years, 1 month ago (2014-11-06 00:33:56 UTC) #11
simonhong
Comments are addressed. PTAL! https://codereview.chromium.org/696413003/diff/1/cc/scheduler/scheduler_settings.cc File cc/scheduler/scheduler_settings.cc (right): https://codereview.chromium.org/696413003/diff/1/cc/scheduler/scheduler_settings.cc#newcode13 cc/scheduler/scheduler_settings.cc:13: : begin_frame_receiver(true), On 2014/11/05 00:39:14, ...
6 years, 1 month ago (2014-11-10 13:18:09 UTC) #12
brianderson
Still lgtm.
6 years, 1 month ago (2014-11-10 18:16:24 UTC) #13
piman
lgtm
6 years, 1 month ago (2014-11-10 20:17:14 UTC) #14
mithro-old
LGTM with the new names.
6 years, 1 month ago (2014-11-10 22:49:06 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/696413003/40001
6 years, 1 month ago (2014-11-11 22:09:51 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-11-11 23:25:50 UTC) #18
commit-bot: I haz the power
6 years, 1 month ago (2014-11-11 23:26:26 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2880b8edb63e0bb201d045bbbe32d185a9a3c6a3
Cr-Commit-Position: refs/heads/master@{#303743}

Powered by Google App Engine
This is Rietveld 408576698