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

Issue 1218663007: cc: Allow SendBeginMainFrame in idle state for synchronous compositor. (Closed)

Created:
5 years, 5 months ago by sunnyps
Modified:
5 years, 5 months ago
Reviewers:
brianderson, mithro-old
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org, jdduke (slow)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Allow SendBeginMainFrame in idle state for synchronous compositor. It's possible for main thread to be updated at half the vsync frequency for input related cases when using the synchronous compositor. Unlike raf each input event triggers it's own SetNeedsCommit which gets posted as a task which runs after BeginFrame and OnDraw. We don't send BeginMainFrame if the scheduler is in it's idle state which is always true for the synchronous compositor because we don't use a deadline. BUG=506832 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/02bc6439d63f509492c9d2429318972c663236ea Cr-Commit-Position: refs/heads/master@{#338614}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Reset only send begin main frame funnel when going into deep idle mode. #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -31 lines) Patch
M cc/scheduler/scheduler_state_machine.cc View 1 2 4 chunks +16 lines, -8 lines 0 comments Download
M cc/scheduler/scheduler_state_machine_unittest.cc View 1 4 chunks +18 lines, -23 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 1 chunk +60 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
brianderson
Approach looks good.
5 years, 5 months ago (2015-07-07 19:41:26 UTC) #2
sunnyps
On 2015/07/07 19:41:26, brianderson wrote: > Approach looks good. I'm also investigating resetting the funnels ...
5 years, 5 months ago (2015-07-07 19:43:56 UTC) #3
mithro-old
I see no problem with the *idea* proposed here and think it would work well ...
5 years, 5 months ago (2015-07-08 03:26:33 UTC) #5
sunnyps
PTAL No changes need to be made to the BeginFrameTracker - the frame args chosen ...
5 years, 5 months ago (2015-07-13 23:56:11 UTC) #6
brianderson
lgtm
5 years, 5 months ago (2015-07-14 01:27:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1218663007/40001
5 years, 5 months ago (2015-07-14 01:33:06 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-07-14 01:37:50 UTC) #10
commit-bot: I haz the power
5 years, 5 months ago (2015-07-14 01:39:11 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/02bc6439d63f509492c9d2429318972c663236ea
Cr-Commit-Position: refs/heads/master@{#338614}

Powered by Google App Engine
This is Rietveld 408576698