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

Issue 987563002: cc: Simplify SetNeedsBeginFrames code in scheduler. (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@remove_retro_frame
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Simplify SetNeedsBeginFrames code in scheduler. Simplify the code that calls SetNeedsBeginFrames on the frame source so that it's easier to understand. This paves the way for the state machine to know as little as possible about the deadline which is required for the upcoming webview-scheduler refactor. BUG=439275 Committed: https://crrev.com/32f01258fdc1f2a620e0f1b347287a8aa804f57d Cr-Commit-Position: refs/heads/master@{#321285}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase. #

Patch Set 3 : Address comments. #

Total comments: 4

Patch Set 4 : Remove dependency on retro frame removal. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -74 lines) Patch
M cc/scheduler/scheduler.cc View 1 2 3 3 chunks +17 lines, -14 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 2 3 1 chunk +0 lines, -23 lines 2 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 3 9 chunks +71 lines, -33 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
brianderson
https://codereview.chromium.org/987563002/diff/1/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (left): https://codereview.chromium.org/987563002/diff/1/cc/scheduler/scheduler_state_machine.cc#oldcode726 cc/scheduler/scheduler_state_machine.cc:726: bool SchedulerStateMachine::ShouldSetNeedsBeginFrames( Looks like you can delete this and ...
5 years, 9 months ago (2015-03-05 22:51:23 UTC) #2
sunnyps
Addressed comments. PTAL. https://codereview.chromium.org/987563002/diff/1/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (left): https://codereview.chromium.org/987563002/diff/1/cc/scheduler/scheduler_state_machine.cc#oldcode726 cc/scheduler/scheduler_state_machine.cc:726: bool SchedulerStateMachine::ShouldSetNeedsBeginFrames( On 2015/03/05 22:51:23, brianderson ...
5 years, 9 months ago (2015-03-06 00:49:04 UTC) #3
brianderson
lgtm https://codereview.chromium.org/987563002/diff/40001/cc/scheduler/scheduler_unittest.cc File cc/scheduler/scheduler_unittest.cc (right): https://codereview.chromium.org/987563002/diff/40001/cc/scheduler/scheduler_unittest.cc#newcode1568 cc/scheduler/scheduler_unittest.cc:1568: // SetNeedsBeginFrames(false) is not called until the end ...
5 years, 9 months ago (2015-03-06 01:34:36 UTC) #4
sunnyps
https://codereview.chromium.org/987563002/diff/40001/cc/scheduler/scheduler_unittest.cc File cc/scheduler/scheduler_unittest.cc (right): https://codereview.chromium.org/987563002/diff/40001/cc/scheduler/scheduler_unittest.cc#newcode1568 cc/scheduler/scheduler_unittest.cc:1568: // SetNeedsBeginFrames(false) is not called until the end of ...
5 years, 9 months ago (2015-03-06 01:38:50 UTC) #5
brianderson
still lgtm https://codereview.chromium.org/987563002/diff/60001/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (left): https://codereview.chromium.org/987563002/diff/60001/cc/scheduler/scheduler_state_machine.cc#oldcode740 cc/scheduler/scheduler_state_machine.cc:740: if (!HasInitializedOutputSurface()) This condition isn't taken into ...
5 years, 9 months ago (2015-03-19 01:25:54 UTC) #6
sunnyps
https://codereview.chromium.org/987563002/diff/60001/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (left): https://codereview.chromium.org/987563002/diff/60001/cc/scheduler/scheduler_state_machine.cc#oldcode740 cc/scheduler/scheduler_state_machine.cc:740: if (!HasInitializedOutputSurface()) On 2015/03/19 01:25:54, brianderson wrote: > This ...
5 years, 9 months ago (2015-03-19 01:31:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/987563002/60001
5 years, 9 months ago (2015-03-19 01:32:52 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-19 03:50:38 UTC) #10
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/32f01258fdc1f2a620e0f1b347287a8aa804f57d Cr-Commit-Position: refs/heads/master@{#321285}
5 years, 9 months ago (2015-03-19 03:51:06 UTC) #11
mithro-old
5 years, 9 months ago (2015-03-19 07:28:37 UTC) #12
Message was sent while issue was closed.
On 2015/03/19 03:51:06, I haz the power (commit-bot) wrote:
> Patchset 4 (id:??) landed as
> https://crrev.com/32f01258fdc1f2a620e0f1b347287a8aa804f57d
> Cr-Commit-Position: refs/heads/master@{#321285}

LGTM.

Powered by Google App Engine
This is Rietveld 408576698