diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-12-10 09:54:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-10 08:54:42 +0000 |
commit | 2b8a8f74985300e7a2407384f60fc304922a05a5 (patch) | |
tree | d9fc1c5a94a0f6eb1363f342ee2dfb5d738b8b58 /components/script/conversions.rs | |
parent | bc2def0582ff374d72633f2a06b47842483bac47 (diff) | |
download | servo-2b8a8f74985300e7a2407384f60fc304922a05a5.tar.gz servo-2b8a8f74985300e7a2407384f60fc304922a05a5.zip |
script: Do not prioritize *update-the-rendering* in `ScriptThread` message loop (#34539)
Instead run *update the rendering* at the end of every process of
gathering messages sent to the `ScriptThread`. This ensures that the
thread is in a consistent state when the update is finally run and
prevents running more than one instance of *update the rendering* per
spin of the message loop.
In addition:
- Move the *run the resize steps* implementation to `Window` and ensure
that the realm is active when it is run.
- Profile the queueing of the resize message instead of handling it. I
think this makes more sense as the profiling seems to be targeting
message handling and not *update the rendering*. Additionally, it's
difficult to profile from the context of `Window`.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script/conversions.rs')
0 files changed, 0 insertions, 0 deletions