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

Issue 1715863002: cc: Update main_thread_missed_last_deadline in aborted draws. (Closed)

Created:
4 years, 10 months ago by brianderson
Modified:
4 years, 10 months ago
Reviewers:
sunnyps
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org, ericrk
Base URL:
https://chromium.googlesource.com/chromium/src.git@abortIsSkip2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Update main_thread_missed_last_deadline in aborted draws. This prevents the scheduler from trying to recover latency by skipping a BeginMainFrame immediately after CanDraw goes from false to true, which occurs during changes in viewport size. It also makes recording the main_thread_missed_last_deadline match an upcoming metric that records the the frame time delta between the main-side and impl-side updates. BUG=588318, 582749 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/03f72e193087882c04ee5f4bff819e30279938c8 Cr-Commit-Position: refs/heads/master@{#376609}

Patch Set 1 #

Total comments: 2

Patch Set 2 : + active_tree_needs_first_draw_ = true #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -1 line) Patch
M cc/scheduler/scheduler_state_machine.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 2 chunks +51 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (6 generated)
brianderson
ptal, split out from https://codereview.chromium.org/1681393003/#ps100001
4 years, 10 months ago (2016-02-19 20:26:16 UTC) #3
sunnyps
Is there any special code for handling the aborted draw case? I only see an ...
4 years, 10 months ago (2016-02-20 00:27:00 UTC) #5
brianderson
On 2016/02/20 00:27:00, sunnyps wrote: > Is there any special code for handling the aborted ...
4 years, 10 months ago (2016-02-20 00:43:23 UTC) #6
brianderson
https://codereview.chromium.org/1715863002/diff/1/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (left): https://codereview.chromium.org/1715863002/diff/1/cc/scheduler/scheduler_state_machine.cc#oldcode616 cc/scheduler/scheduler_state_machine.cc:616: active_tree_needs_first_draw_ = true; On 2016/02/20 00:27:00, sunnyps wrote: > ...
4 years, 10 months ago (2016-02-20 00:49:46 UTC) #7
sunnyps
LGTM
4 years, 10 months ago (2016-02-20 01:19:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715863002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715863002/20001
4 years, 10 months ago (2016-02-20 01:27:06 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-20 02:38:27 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2016-02-20 02:40:36 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/03f72e193087882c04ee5f4bff819e30279938c8
Cr-Commit-Position: refs/heads/master@{#376609}

Powered by Google App Engine
This is Rietveld 408576698