vsync
A synchronization signal sent when the display refreshes; browsers align with it to schedule animation frame output, and it serves as the underlying timing basis for mechanisms such as requestAnimationFrame.
Timeline (last 90 days)
The compositor thread runs independently of the main thread; even if the main thread is blocked by a long task, the compositor can still keep outputting new frames in step with the device's vsync.
The requestAnimationFrame callback is scheduled to execute before the browser's next repaint and is aligned with the display's vertical sync signal (vsync).
All Facts (2)
The compositor thread runs independently of the main thread; even if the main thread is blocked by a long task, the compositor can still keep outputting new frames in step with the device's vsync.
50%UnverifiedThe requestAnimationFrame callback is scheduled to execute before the browser's next repaint and is aligned with the display's vertical sync signal (vsync).
50%