1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:18:13 +00:00
serenity/Userland/Services/WebContent
Andreas Kling 479e269c8b WebContent: Give paint requests a chance to happen between input events
Before this patch, we had an issue where the WebContent process could
get backed up with tons of pending input events (especially mouse moves)
and have to work through all of those before responding to a paint
request from the UI process.

This could lead to a situation where we went for a very long time
without seeing any visual updates.

The approach I've taken here is pretty simple, we basically make a queue
of all incoming input events on the WebContent process side, and then
process that queue one event at a time, using a zero timer. This is
basic, but it allows paint requests to come in between the input events
and we do now get more frequent visual updates even during heavy
pressure from input events.
2023-03-14 16:52:44 +01:00
..
CMakeLists.txt WebContent+LibWeb+LibJS: Simplify injection of JS console globals 2022-12-09 18:51:03 +00:00
ConnectionFromClient.cpp WebContent: Give paint requests a chance to happen between input events 2023-03-14 16:52:44 +01:00
ConnectionFromClient.h WebContent: Give paint requests a chance to happen between input events 2023-03-14 16:52:44 +01:00
ConsoleGlobalEnvironmentExtensions.cpp LibWeb: Restore proper functionality of legacy platform objects 2023-02-28 12:36:14 +01:00
ConsoleGlobalEnvironmentExtensions.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
Documentation.txt LibWeb: Remove the InProcessWebView widget 2022-04-06 19:35:07 +02:00
Forward.h WebContent+LibWeb+LibJS: Simplify injection of JS console globals 2022-12-09 18:51:03 +00:00
ImageCodecPluginSerenity.cpp LibWeb+LibWebView+WebContent: Add Web::Platform::ImageCodecPlugin 2022-09-16 15:15:50 +02:00
ImageCodecPluginSerenity.h LibWeb+LibWebView+WebContent: Add Web::Platform::ImageCodecPlugin 2022-09-16 15:15:50 +02:00
main.cpp LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
PageHost.cpp LibWeb+Ladybird+Userland: Port window.[alert,confirm,prompt] to String 2023-03-13 22:05:22 +00:00
PageHost.h LibWeb+Ladybird+Userland: Port window.[alert,confirm,prompt] to String 2023-03-13 22:05:22 +00:00
WebContentClient.ipc LibWeb+Ladybird+Userland: Port window.[alert,confirm,prompt] to String 2023-03-13 22:05:22 +00:00
WebContentConsoleClient.cpp LibWeb+LibJS: Format Console arguments with JS::Print 2023-02-21 10:57:44 +01:00
WebContentConsoleClient.h WebContent+LibWeb+LibJS: Simplify injection of JS console globals 2022-12-09 18:51:03 +00:00
WebContentServer.ipc LibWeb+Ladybird+Userland: Port window.[alert,confirm,prompt] to String 2023-03-13 22:05:22 +00:00
WebDriverClient.ipc WebContent+WebDriver: Ensure Get Window Handle checks for closed BCs 2023-03-07 18:16:35 +00:00
WebDriverConnection.cpp LibWeb+Ladybird+Userland: Port window.[alert,confirm,prompt] to String 2023-03-13 22:05:22 +00:00
WebDriverConnection.h WebContent: Wait for navigation to complete in WebDriver 2023-03-08 13:08:04 -05:00
WebDriverServer.ipc WebContent: Add a very-empty WebDriver IPC class to WebContent 2022-11-08 19:58:34 -05:00