Closed
Bug 1670444
Opened 4 years ago
Closed 4 years ago
[Wayland] Estimate refresh rate from frame callbacks
Categories
(Core :: Graphics, enhancement, P3)
Core
Graphics
Tracking
()
RESOLVED
FIXED
84 Branch
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: rmader, Assigned: rmader)
References
Details
Attachments
(1 file)
Since bug 1653737 Webrender wants to have an estimate for the next presentation time. Currently this is derived from a hardcoded 60Hz refresh rate - lets add a simple heuristic to provide a better guess when using the Wayland Vsync source, so we get better results on non-60Hz displays.
For now, just do that based on frame callbacks - we can improve it using the presentation time protocol later.
Assignee | ||
Comment 1•4 years ago
|
||
This implements a very simplistic estimate of the refresh interval.
While not very accurate, it should sligtly improve frame timing on
non-60Hz screens and could prove handy in other situations.
Once the Wayland Vsync source is propperly wired up we can improve
it - potentially with the presentation time protocol or with some
smarter logic.
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P3
Updated•4 years ago
|
Assignee: nobody → robert.mader
Attachment #9180922 -
Attachment description: Bug 1670444 - [Wayland] Estimate refresh rate from frame callbacks → Bug 1670444 - [Wayland] Some vsyncsource improvements, r?stransky
Status: NEW → ASSIGNED
Pushed by malexandru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6451d7ca2912 [Wayland] Some vsyncsource improvements, r=stransky
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox84:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•