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

Issue 1778853003: Fold BeginFrameSource::SetClientReady into AddObserver (Closed)

Created:
4 years, 9 months ago by enne (OOO)
Modified:
4 years, 9 months ago
Reviewers:
danakj, Ted C, sunnyps, Sami, boliu
CC:
cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, piman+watch_chromium.org, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@scheduler_always_external
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fold BeginFrameSource::SetClientReady into AddObserver As a part of https://codereview.chromium.org/1774323003, it became clear that it needed to be possible to call SetClientReady repeatedly, which some sources didn't support. Instead of just making that part of the contract, instead fold the two places where SetClientReady mattered into AddObserver (the first time where a begin frame could actually be delivered) and remove SetClientReady from the API. R=skyostil@chromium.org,sunnyps@chomium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/de6bfca79029c410d2e7c58173e2119fd485cc28 Cr-Commit-Position: refs/heads/master@{#381612}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -23 lines) Patch
M cc/scheduler/begin_frame_source.h View 2 chunks +0 lines, -4 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/surfaces/surface_manager_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/fake_external_begin_frame_source.h View 2 chunks +0 lines, -6 lines 0 comments Download
M cc/test/fake_external_begin_frame_source.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/android/synchronous_compositor_external_begin_frame_source.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/android/synchronous_compositor_external_begin_frame_source.cc View 1 chunk +5 lines, -1 line 0 comments Download
M content/renderer/gpu/compositor_external_begin_frame_source.h View 2 chunks +1 line, -1 line 0 comments Download
M content/renderer/gpu/compositor_external_begin_frame_source.cc View 2 chunks +3 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 25 (11 generated)
enne (OOO)
4 years, 9 months ago (2016-03-09 22:29:32 UTC) #2
Sami
lgtm.
4 years, 9 months ago (2016-03-10 19:35:19 UTC) #3
sunnyps
Actually SetClientReady is used for one-time initialization for the renderer's external begin frame source and ...
4 years, 9 months ago (2016-03-10 22:43:58 UTC) #5
danakj
On Thu, Mar 10, 2016 at 2:43 PM, <sunnyps@chromium.org> wrote: > Actually SetClientReady is used ...
4 years, 9 months ago (2016-03-10 22:45:56 UTC) #6
enne (OOO)
On 2016/03/10 at 22:43:58, sunnyps wrote: > Actually SetClientReady is used for one-time initialization for ...
4 years, 9 months ago (2016-03-10 22:55:32 UTC) #7
sunnyps
On 2016/03/10 22:55:32, enne wrote: > On 2016/03/10 at 22:43:58, sunnyps wrote: > > Actually ...
4 years, 9 months ago (2016-03-14 20:51:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1778853003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1778853003/1
4 years, 9 months ago (2016-03-16 22:06:36 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/157786)
4 years, 9 months ago (2016-03-16 22:19:22 UTC) #14
enne (OOO)
+tedchoc for content/renderer/android/synchronous_compositor_external_begin_frame_source.* OWNERS
4 years, 9 months ago (2016-03-16 22:26:42 UTC) #16
Ted C
boliu is a better OWNER than me
4 years, 9 months ago (2016-03-16 23:37:04 UTC) #18
boliu
lgtm
4 years, 9 months ago (2016-03-16 23:55:51 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1778853003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1778853003/1
4 years, 9 months ago (2016-03-17 00:39:05 UTC) #21
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-17 00:45:12 UTC) #23
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 00:49:35 UTC) #25
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/de6bfca79029c410d2e7c58173e2119fd485cc28
Cr-Commit-Position: refs/heads/master@{#381612}

Powered by Google App Engine
This is Rietveld 408576698