Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Issue 536123002: cc: Use Scheduler::BeginFrame() in SingleThreadProxy (Closed)

Created:
6 years, 3 months ago by simonhong
Modified:
6 years, 3 months ago
Reviewers:
brianderson, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Project:
chromium
Visibility:
Public.

Description

cc: Use Scheduler::BeginFrame() in SingleThreadProxy Proxy should use BeginFrame() to request new BeginFrame instead of BeginImplFrame(). The scheduler turns BeginFrames into BeginImplFrames or BeginRetroFrames as necessary to make sure we don't start a new BeginImplFrame before the previous deadline. Some of public methods that are only used by itself moved into the private. [email protected] BUG=NONE TEST=cc_unittests Committed: https://crrev.com/96b5967f6a201fdb0e7cb3782de01915362ecb8a Cr-Commit-Position: refs/heads/master@{#293259}

Patch Set 1 #

Patch Set 2 : Move to private #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -23 lines) Patch
M cc/scheduler/scheduler.h View 1 2 chunks +16 lines, -17 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (5 generated)
simonhong
PTAL!
6 years, 3 months ago (2014-09-03 21:07:20 UTC) #1
danakj
> Proxy only can use BeginFrame() to request next BeginFrame instead of calling BeginImplFrame(). Can ...
6 years, 3 months ago (2014-09-03 21:16:01 UTC) #3
brianderson
Can you make BeginImplFrame a protected method in the Scheduler, so this doesn't happen again? ...
6 years, 3 months ago (2014-09-03 21:21:14 UTC) #5
enne (OOO)
lgtm % brianderson That sounds reasonable to me. Calling BeginImplFrame wasn't an intentional choice. I ...
6 years, 3 months ago (2014-09-03 21:27:51 UTC) #6
simonhong
On 2014/09/03 21:21:14, brianderson wrote: > Can you make BeginImplFrame a protected method in the ...
6 years, 3 months ago (2014-09-03 21:30:34 UTC) #7
danakj
On 2014/09/03 21:30:34, simonhong wrote: > On 2014/09/03 21:21:14, brianderson wrote: > > Can you ...
6 years, 3 months ago (2014-09-03 21:31:15 UTC) #8
brianderson
On 2014/09/03 21:27:51, enne wrote: > lgtm % brianderson > > That sounds reasonable to ...
6 years, 3 months ago (2014-09-03 23:14:31 UTC) #9
simonhong
brian, please check again. Thanks!
6 years, 3 months ago (2014-09-04 00:39:09 UTC) #10
brianderson
lgtm, as long as tests don't need access to these methods.
6 years, 3 months ago (2014-09-04 00:46:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/536123002/20001
6 years, 3 months ago (2014-09-04 00:56:18 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/1935)
6 years, 3 months ago (2014-09-04 03:01:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/536123002/20001
6 years, 3 months ago (2014-09-04 04:11:01 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001) as cb57cd9b5e72b321973d5ed01e1e7c3eaab6a002
6 years, 3 months ago (2014-09-04 04:57:58 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:29:48 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/96b5967f6a201fdb0e7cb3782de01915362ecb8a
Cr-Commit-Position: refs/heads/master@{#293259}

Powered by Google App Engine
This is Rietveld 408576698