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

Issue 1201573002: cc: Remove BeginFrameSourcesConstructor. (Closed)

Created:
5 years, 6 months ago by sunnyps
Modified:
5 years, 6 months ago
Reviewers:
brianderson, mithro-old
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-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: Remove BeginFrameSourcesConstructor. Customizing begin frame sources is easier using a static Create method instead of using a special class for that. Also get rid of VSyncParameterObserver as a result. R=brianderson,mithro CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/f381ede8c7add011ece7fe3d0ed500b552ff61de Cr-Commit-Position: refs/heads/master@{#335605}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebase #

Patch Set 3 : mithro's review #

Patch Set 4 : Remove refptr changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -268 lines) Patch
M cc/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M cc/cc.gyp View 1 1 chunk +0 lines, -1 line 0 comments Download
D cc/output/vsync_parameter_observer.h View 1 chunk +0 lines, -18 lines 0 comments Download
M cc/scheduler/begin_frame_source.h View 1 2 chunks +3 lines, -7 lines 0 comments Download
M cc/scheduler/begin_frame_source.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M cc/scheduler/scheduler.h View 1 2 3 5 chunks +21 lines, -47 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 2 3 4 chunks +45 lines, -71 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 3 3 chunks +4 lines, -7 lines 0 comments Download
M cc/surfaces/onscreen_display_client.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M cc/surfaces/onscreen_display_client.cc View 1 2 3 4 chunks +10 lines, -13 lines 0 comments Download
M cc/test/scheduler_test_common.h View 1 2 3 3 chunks +10 lines, -44 lines 0 comments Download
M cc/test/scheduler_test_common.cc View 1 2 3 2 chunks +25 lines, -50 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
sunnyps
PTAL This CL gets rid of BeginFrameSourcesConstructor which is an inelegant hack when a much ...
5 years, 6 months ago (2015-06-20 02:13:55 UTC) #1
brianderson
lgtm. Although please associate with a bug first and mention other cleanups in the subject. ...
5 years, 6 months ago (2015-06-21 02:29:28 UTC) #2
mithro-old
Generally LGTM, some minor comments. I believe there is already a bug open about removing ...
5 years, 6 months ago (2015-06-22 11:49:39 UTC) #3
sunnyps
On 2015/06/21 02:29:28, brianderson wrote: > lgtm. Although please associate with a bug first and ...
5 years, 6 months ago (2015-06-22 20:07:36 UTC) #4
sunnyps
https://codereview.chromium.org/1201573002/diff/1/cc/scheduler/scheduler.cc File cc/scheduler/scheduler.cc (right): https://codereview.chromium.org/1201573002/diff/1/cc/scheduler/scheduler.cc#newcode28 cc/scheduler/scheduler.cc:28: if (!settings.use_external_begin_frame_source) { On 2015/06/22 11:49:39, mithro wrote: > ...
5 years, 6 months ago (2015-06-22 20:32:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1201573002/40001
5 years, 6 months ago (2015-06-22 20:34:33 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/84056)
5 years, 6 months ago (2015-06-22 20:55:14 UTC) #10
sunnyps
I reverted the refptr changes from this CL. PTAL
5 years, 6 months ago (2015-06-22 22:27:44 UTC) #11
mithro-old
lgtm
5 years, 6 months ago (2015-06-22 23:17:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1201573002/60001
5 years, 6 months ago (2015-06-22 23:17:41 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/30872)
5 years, 6 months ago (2015-06-23 00:09:52 UTC) #17
mithro-old
lgtm The failure seems unrelated to this change. Sending to the commit queue again.
5 years, 6 months ago (2015-06-23 00:11:01 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1201573002/60001
5 years, 6 months ago (2015-06-23 00:11:48 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/70633)
5 years, 6 months ago (2015-06-23 00:44:33 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1201573002/60001
5 years, 6 months ago (2015-06-23 01:20:10 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-06-23 01:47:06 UTC) #25
commit-bot: I haz the power
5 years, 6 months ago (2015-06-23 01:47:56 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f381ede8c7add011ece7fe3d0ed500b552ff61de
Cr-Commit-Position: refs/heads/master@{#335605}

Powered by Google App Engine
This is Rietveld 408576698