servo/components/shared
Martin Robinson 6005049d88
compositor: Improve the way we wait for frames (#31523)
* compositor: Improve the way we wait for frames

In the newest version of WebRender it will be harder to make the
distinction between frame queued for scrolling and other kinds of
pending frames. This change makes it so that we queue frames for both
kinds of changes the same way and keeps a counting of pending frames.
This is conceptually a lot simpler.

In addition, do queue a composite even when recomposite isn't necessary
for a WebRender frame when there are active requestAnimationFrame
callbacks. Doing a composite is what triggers the callbacks to actually
run in the script thread! I believe this was a bug, but the WebRender
upgrade made it much more obvious.

These changes are in preparation for the WebRender upgrade.

* Remove spurious println
2024-03-07 11:59:02 +00:00
..
bluetooth Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
canvas Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
compositing compositor: Improve the way we wait for frames (#31523) 2024-03-07 11:59:02 +00:00
devtools Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
embedder Update Stylo to 2023-07-23 (#31437) 2024-02-29 10:23:53 +00:00
gfx Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
msg Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
net Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
profile Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
script Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
script_layout Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
webrender Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00