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

Issue 1059503003: Enable 2 pending frames on ARM devices. (Closed)

Created:
5 years, 8 months ago by alexst (slow to review)
Modified:
5 years, 8 months ago
Reviewers:
danakj, brianderson
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, scheduler-bugs_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable 2 pending frames in the scheduler on ARM devices. In the past eglSwapBuffers used to return early, before the swap actually happened and descheduling in the driver. This resulted in the scheduler beginning the next frame early and hitting the page flip deadline in time more often. Freon returns swap ack when page flip actually happened, but with the side effect of scheduling shifted forward, resulting in more missed vblanks and reduced performance. This change restores original performance on freon. BUG=465599 Committed: https://crrev.com/7d66db12d3dd9d3b068eee2ff11f3ccc81e767d3 Cr-Commit-Position: refs/heads/master@{#324098}

Patch Set 1 #

Total comments: 2

Patch Set 2 : just 2 pending #

Patch Set 3 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc View 1 2 1 chunk +7 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
alexst (slow to review)
Brian, please have a look. After the https://codereview.chromium.org/1054073002/ lands, > 1 frames pending works on ...
5 years, 8 months ago (2015-04-03 00:23:17 UTC) #2
brianderson
https://codereview.chromium.org/1059503003/diff/1/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (left): https://codereview.chromium.org/1059503003/diff/1/cc/scheduler/scheduler_state_machine.cc#oldcode427 cc/scheduler/scheduler_state_machine.cc:427: // TODO(brianderson): Remove this restriction to improve throughput. Beware ...
5 years, 8 months ago (2015-04-03 22:44:01 UTC) #3
brianderson
lgtm
5 years, 8 months ago (2015-04-03 22:44:13 UTC) #4
alexst (slow to review)
https://codereview.chromium.org/1059503003/diff/1/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (left): https://codereview.chromium.org/1059503003/diff/1/cc/scheduler/scheduler_state_machine.cc#oldcode427 cc/scheduler/scheduler_state_machine.cc:427: // TODO(brianderson): Remove this restriction to improve throughput. On ...
5 years, 8 months ago (2015-04-04 00:20:02 UTC) #5
alexst (slow to review)
Split it up, part 2 is here https://codereview.chromium.org/1053153003/
5 years, 8 months ago (2015-04-06 13:29:00 UTC) #7
danakj
I guess you need the other CL to land first. But LGTM once it lands. ...
5 years, 8 months ago (2015-04-06 16:34:28 UTC) #8
alexst (slow to review)
Yeah, good point, documented for future spelunkers.
5 years, 8 months ago (2015-04-07 18:24:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1059503003/40001
5 years, 8 months ago (2015-04-07 18:26:01 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-07 20:06:38 UTC) #13
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 20:07:35 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7d66db12d3dd9d3b068eee2ff11f3ccc81e767d3
Cr-Commit-Position: refs/heads/master@{#324098}

Powered by Google App Engine
This is Rietveld 408576698