mirror of
https://github.com/servo/servo.git
synced 2025-06-09 00:53:26 +00:00
A rendering opportunity is now unconditionally triggered by handling IPC messages in the `ScriptThread`, unless animations are running in which case it's driven by the compositor. We can now remove calls to `note_rendering_opportunity` and `rendering_opportunity`. There is one tricky case, which is when a promise completion during a microtask checkpoint dirties the page again. In this case we need to trigger a new rendering opportunity, unless animations are running. In a followup change, when not driven by the compositor, rendering opportunities will be driven by a timed task, meaning we can remove this workaround. Signed-off-by: Martin Robinson <mrobinson@igalia.com> |
||
---|---|---|
.. | ||
dom_manipulation.rs | ||
file_reading.rs | ||
gamepad.rs | ||
history_traversal.rs | ||
media_element.rs | ||
mod.rs | ||
networking.rs | ||
performance_timeline.rs | ||
port_message.rs | ||
remote_event.rs | ||
rendering.rs | ||
timer.rs | ||
user_interaction.rs | ||
websocket.rs |