New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 638572 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Feature

Blocking:
issue 453661



Sign in to add a comment

Add API for web sites to query display refresh rate

Project Member Reported by skyos...@chromium.org, Aug 17 2016

Issue description

We should make it possible for web pages to query the display's refresh rate so they can adjust their animation frame rate appropriately. Currently people are running empty rAF loops to determine this value, and this API would provide a less flaky way to do the same.

Open issues:
- What should the API look like?
- How to deal with refresh rate changes?
- If the browser decides to run the page at a lower frame rate, should this value reflect that?
- How does this interact with a hypothetical API that lets developers set the display frame rate?
 
Also: do we already need this for the frame throughput web metric?
I think it depends on how we surface frame throughput to the web.

If we surface it based on frame durations, then yes, they'll need something to normalize against.

Alternatively, we could normalize the frame durations against the display frame rate before we give the data to the developer, in which case I don't think this would be necessary.
Good points. On first blush I would prefer we show things in (milli)seconds to keep things comparable and avoid surprises if the denominator (display frame rate) changes.
I agree with #3.

Do we have any idea how common non 60fps displays are?
Blocking: 453661
Project Member

Comment 7 by sheriffbot@chromium.org, Aug 25 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: OS-Fuchsia
Status: Available (was: Untriaged)
I think we still want this.
Labels: -OS-Fuchsia OS-All

Sign in to add a comment