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

Issue 14195025: Keep vsync enabled while there is a pending requestAnimationFrame (Closed)

Created:
7 years, 8 months ago by Sami
Modified:
7 years, 8 months ago
Reviewers:
brianderson
CC:
chromium-reviews, cc-bugs_chromium.org, Tom Hudson, brianderson
Visibility:
Public.

Description

Keep vsync enabled while there is a pending requestAnimationFrame When the vsync signal is enabled from an idle state, it will only fire at the start of the next vsync interval, which may be a full frame away. If a requestAnimationFrame is pending, we are likely to need the vsync signal soon, so turn it on pre-emptively. BUG=161828

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M cc/scheduler/scheduler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.h View 2 chunks +3 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 4 chunks +9 lines, -0 lines 0 comments Download
M cc/trees/thread_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/thread_proxy.cc View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Sami
Straw man #1 for JSGameBench.
7 years, 8 months ago (2013-04-18 10:50:55 UTC) #1
brianderson
Is this patch primarily helpful because there's some delay before the Browser will sent back ...
7 years, 8 months ago (2013-04-19 00:45:26 UTC) #2
nduca
7 years, 8 months ago (2013-04-22 23:16:06 UTC) #3
Why special case raf? Why not just keep vsync on longer and delay turn it off
after a few frames of quiescence?

Powered by Google App Engine
This is Rietveld 408576698