-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Firefox
surface.frame
event quirk (#3740)
We currently queue a `send_frame_events()` 16ms after receiving a `surface.commit()` with no buffer but that requests a frame event. When `send_frame_events()` is triggered it sends *all* the frame events at the time of trigger; this results in us sending frame events at a sub-optimal time and breaks the way that WLCS uses the frame event to determine when a buffer has been used. Instead, maintain a separate `heartbeat_quirk_frame_events` list that gets sent by the 16ms timer.
- Loading branch information
Showing
2 changed files
with
71 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters