Open Bug 1769144 Opened 3 years ago Updated 11 months ago

[meta] Move Vsync observation into the GPU process, where possible

Categories

(Core :: Graphics, task)

task

Tracking

()

People

(Reporter: mstange, Unassigned)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

(Keywords: meta)

At the moment we receive vsync notifications from the OS in the parent process, and then forward the notifications to the other processes. It would be better to receive the OS notifications in the compositor process, especially after bug 1769139.

Windows and macOS allow us to listen for vsync in any process.

On Linux Wayland, vsync notifications (frame callbacks) are delivered via the widget event loop, so I'm not sure if we can get them in the GPU process or if we will still have to get them from the parent process.
On Android, vsync notifications are delivered on the Android UI thread via the android.view.Choreographer API, which can probably only be used from the parent process.

Blocks: 1909123
You need to log in before you can comment on or make changes to this bug.