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

Issue 1002493006: cc: Do not use current frame number in state machine decisions. (Closed)

Created:
5 years, 9 months ago by sunnyps
Modified:
5 years, 9 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@no_begin_impl_frame_args_in_state_machine
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Do not use current frame number in state machine decisions. This allows the scheduler to evolve to a state where it's able to perform multiple actions of the same type in a given frame. One example of this is webview where we can stop receiving BeginFrames but still have to draw any number of times the system asks us to. BUG=439275 Committed: https://crrev.com/55ee356251c5393fec8bb3b81dfe800896abfb42 Cr-Commit-Position: refs/heads/master@{#321625}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebase. #

Patch Set 3 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -53 lines) Patch
M cc/scheduler/scheduler_state_machine.h View 1 2 4 chunks +8 lines, -5 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 2 20 chunks +46 lines, -48 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
sunnyps
PTAL This was split out of my webview CL is based on top of crrev.com/1020993002
5 years, 9 months ago (2015-03-19 22:19:33 UTC) #2
brianderson
https://codereview.chromium.org/1002493006/diff/1/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (right): https://codereview.chromium.org/1002493006/diff/1/cc/scheduler/scheduler_state_machine.cc#newcode565 cc/scheduler/scheduler_state_machine.cc:565: animate_funnel_ = false; Neat way of getting rid of ...
5 years, 9 months ago (2015-03-19 23:31:43 UTC) #3
sunnyps
PTAL Added DCHECKs and addressed nits. Also added a "funnel: " prefix to tracing so ...
5 years, 9 months ago (2015-03-20 01:13:44 UTC) #4
mithro-old
Hi Sunny, I think the funnel idea is pretty reasonable with the current structure. However, ...
5 years, 9 months ago (2015-03-20 01:34:20 UTC) #5
sunnyps
On 2015/03/20 01:34:20, mithro wrote: > Hi Sunny, > > I think the funnel idea ...
5 years, 9 months ago (2015-03-20 01:39:58 UTC) #6
mithro-old
On 2015/03/20 01:39:58, sunnyps wrote: > On 2015/03/20 01:34:20, mithro wrote: > > Hi Sunny, ...
5 years, 9 months ago (2015-03-20 01:46:41 UTC) #7
sunnyps
On 2015/03/20 01:46:41, mithro wrote: > On 2015/03/20 01:39:58, sunnyps wrote: > > On 2015/03/20 ...
5 years, 9 months ago (2015-03-20 04:35:58 UTC) #8
brianderson
lgtm
5 years, 9 months ago (2015-03-20 19:49:37 UTC) #9
sunnyps
Thanks, marking for commit.
5 years, 9 months ago (2015-03-20 20:14:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1002493006/40001
5 years, 9 months ago (2015-03-20 20:15:26 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-20 20:48:57 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-20 20:49:42 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/55ee356251c5393fec8bb3b81dfe800896abfb42
Cr-Commit-Position: refs/heads/master@{#321625}

Powered by Google App Engine
This is Rietveld 408576698