Closed
Bug 1653737
Opened 6 years ago
Closed 6 years ago
Add vsync output time to VsyncEvent
Categories
(Core :: Graphics, task)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla80
| Tracking | Status | |
|---|---|---|
| firefox80 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(2 files)
See bug 1653355. In this bug I want to land the patches that add the infrastructure but don't change the behavior for video.
| Assignee | ||
Comment 1•6 years ago
|
||
This timestamp is provided by the system on macOS, and estimated as "the next
vsync" on all other platforms.
On macOS, the output time increments in very consistent amounts. The timestamp
is independent of when exactly the vsync callback ends up running, so it is less
vulnerable to unfortunate thread scheduling.
This makes it a more reliable source for picking video frames, for example.
| Assignee | ||
Comment 2•6 years ago
|
||
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/autoland/rev/d917b77f7fa4
Add output time to VsyncEvent. r=nical
https://hg.mozilla.org/integration/autoland/rev/18368027eeec
Expose vsync output time from CompositorVsyncScheduler. r=nical
Comment 4•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d917b77f7fa4
https://hg.mozilla.org/mozilla-central/rev/18368027eeec
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in
before you can comment on or make changes to this bug.
Description
•